Profiling results ----------------- Total cpu time observed: 128894ms (out of 132496ms) Number of samples taken: 307 (once every 420ms) ========================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ========================================================================== ??? [40] 100.0% [1] 128894(100.0%) 0(0.0%) profile-thunk16 ...e/pkgs/profile-lib/main.rkt:9:0 run [4] 100.0% -------------------------------------------------------------------------- ??? [40] 100.0% [2] 35038(27.2%) 0(0.0%) run-improve43 ...ple-ranges/src/mainloop.rkt:339:0 simplify! [5] 86.1% setup-prog!34 [6] 11.3% for-loop [7] 1.7% finalize-iter! [8] 0.9% -------------------------------------------------------------------------- hash-ref! [68] 100.0% [3] 18940(14.7%) 902(0.7%) ??? ...e/move-sample-ranges/src/programs.rkt:142:5 hash-ref! [68] 75.5% loop [63] 23.4% -------------------------------------------------------------------------- profile-thunk16 [1] 100.0% [4] 128894(100.0%) 0(0.0%) run ...et-7.0/share/pkgs/profile-lib/main.rkt:39:2 ??? [40] 100.0% -------------------------------------------------------------------------- run-improve43 [2] 100.0% [5] 30184(23.4%) 0(0.0%) simplify! ...-sample-ranges/src/mainloop.rkt:217:0 ??? [10] 100.0% -------------------------------------------------------------------------- run-improve43 [2] 100.0% [6] 3962(3.1%) 0(0.0%) setup-prog!34 ...mple-ranges/src/mainloop.rkt:67:0 loop [9] 93.3% ??? [12] 6.7% -------------------------------------------------------------------------- run-improve43 [2] 100.0% [7] 590(0.5%) 0(0.0%) for-loop ...e-sample-ranges/src/mainloop.rkt:354:4 run-iter! [11] 100.0% -------------------------------------------------------------------------- run-improve43 [2] 100.0% [8] 302(0.2%) 0(0.0%) finalize-iter! ...le-ranges/src/mainloop.rkt:271:0 ??? [12] 100.0% -------------------------------------------------------------------------- setup-prog!34 [6] 3.9% ??? [40] 96.1% [9] 95350(74.0%) 0(0.0%) loop ...ie/move-sample-ranges/src/points.rkt:279:2 loop [13] 35.2% loop [20] 33.2% make-exacts-walkup [19] 31.6% -------------------------------------------------------------------------- simplify! [5] 100.0% [10] 30184(23.4%) 0(0.0%) ??? ...ve-sample-ranges/src/core/simplify.rkt:26:0 loop [14] 79.9% one-iter [22] 12.0% for-loop [15] 8.1% -------------------------------------------------------------------------- for-loop [7] 100.0% [11] 590(0.5%) 0(0.0%) run-iter! ...-sample-ranges/src/mainloop.rkt:320:0 localize! [16] 100.0% -------------------------------------------------------------------------- setup-prog!34 [6] 46.8% finalize-iter! [8] 53.2% [12] 568(0.4%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:388:18 atab-add-altns [17] 53.2% make-alt-table [18] 46.8% -------------------------------------------------------------------------- loop [9] 100.0% [13] 33520(26.0%) 0(0.0%) loop ...ie/move-sample-ranges/src/points.rkt:240:2 make-exacts-walkup [19] 60.0% loop [20] 40.0% -------------------------------------------------------------------------- ??? [10] 100.0% [14] 24106(18.7%) 0(0.0%) loop ...-sample-ranges/src/core/simplify.rkt:105:2 for-loop [21] 100.0% -------------------------------------------------------------------------- ??? [10] 100.0% [15] 2442(1.9%) 0(0.0%) for-loop ...mple-ranges/src/core/simplify.rkt:33:2 one-iter [22] 100.0% -------------------------------------------------------------------------- run-iter! [11] 100.0% [16] 590(0.5%) 0(0.0%) localize! ...-sample-ranges/src/mainloop.rkt:120:0 localize-error [23] 100.0% -------------------------------------------------------------------------- ??? [12] 100.0% [17] 302(0.2%) 0(0.0%) atab-add-altns ...nges/src/core/alt-table.rkt:50:0 atab-add-altn [24] 100.0% -------------------------------------------------------------------------- ??? [12] 100.0% [18] 266(0.2%) 0(0.0%) make-alt-table ...nges/src/core/alt-table.rkt:33:0 errors [29] 100.0% -------------------------------------------------------------------------- loop [13] 40.0% loop [9] 60.0% [19] 50278(39.0%) 0(0.0%) make-exacts-walkup ...-ranges/src/points.rkt:219:0 loop [63] 89.7% eval-prog [28] 10.3% -------------------------------------------------------------------------- loop [13] 29.7% loop [9] 70.3% [20] 45072(35.0%) 0(0.0%) loop ...ie/move-sample-ranges/src/points.rkt:223:4 loop [63] 99.2% debug-print [32] 0.8% -------------------------------------------------------------------------- loop [14] 100.0% [21] 24106(18.7%) 610(0.5%) for-loop ...ple-ranges/src/core/simplify.rkt:111:4 argmin [25] 35.6% loop [26] 28.2% expression-cost [33] 21.9% for-loop [34] 7.8% for-loop [30] 4.0% -------------------------------------------------------------------------- for-loop [15] 40.2% ??? [10] 59.8% [22] 6078(4.7%) 0(0.0%) one-iter ...mple-ranges/src/core/simplify.rkt:65:0 find-matches [27] 85.2% for-loop [31] 14.8% -------------------------------------------------------------------------- localize! [16] 100.0% [23] 590(0.5%) 0(0.0%) localize-error ...anges/src/core/localize.rkt:57:0 hash-ref! [68] 100.0% -------------------------------------------------------------------------- atab-add-altns [17] 100.0% [24] 302(0.2%) 0(0.0%) atab-add-altn ...nges/src/core/alt-table.rkt:202:0 errors [29] 100.0% -------------------------------------------------------------------------- for-loop [21] 100.0% [25] 8574(6.7%) 0(0.0%) argmin ...acket-7.0/collects/racket/list.rkt:765:0 expression-cost [33] 64.8% for-loop [34] 35.2% -------------------------------------------------------------------------- for-loop [21] 100.0% [26] 6806(5.3%) 0(0.0%) loop .../racket-7.0/collects/racket/list.rkt:751:4 expression-cost [33] 81.8% for-loop [34] 18.2% -------------------------------------------------------------------------- one-iter [22] 100.0% [27] 5180(4.0%) 0(0.0%) find-matches ...-ranges/src/core/simplify.rkt:55:0 for-loop [35] 100.0% -------------------------------------------------------------------------- make-exacts-walkup [19] 100.0% [28] 5168(4.0%) 0(0.0%) eval-prog ...e-sample-ranges/src/programs.rkt:83:0 hash-ref! [68] 100.0% -------------------------------------------------------------------------- make-alt-table [18] 22.7% atab-add-altn [24] 25.7% ??? [40] 51.6% [29] 1174(0.9%) 0(0.0%) errors .../move-sample-ranges/src/points.rkt:202:0 for-loop [36] 100.0% -------------------------------------------------------------------------- for-loop [21] 100.0% [30] 960(0.7%) 0(0.0%) for-loop ...le-ranges/src/core/simplify.rkt:115:16 for-loop [37] 100.0% -------------------------------------------------------------------------- one-iter [22] 100.0% [31] 898(0.7%) 0(0.0%) for-loop ...mple-ranges/src/core/simplify.rkt:67:2 for-loop [38] 100.0% -------------------------------------------------------------------------- loop [20] 100.0% [32] 376(0.3%) 0(0.0%) debug-print ...e-sample-ranges/src/debug.rkt:110:0 ??? [39] 100.0% -------------------------------------------------------------------------- for-loop [21] 32.2% argmin [25] 33.9% loop [26] 34.0% [33] 16390(12.7%) 0(0.0%) expression-cost ...e-ranges/src/programs.rkt:157:0 compile [41] 100.0% -------------------------------------------------------------------------- loop [26] 20.2% for-loop [21] 30.7% argmin [25] 49.2% [34] 6146(4.8%) 934(0.7%) for-loop ...e-sample-ranges/src/programs.rkt:158:2 table-ref [42] 84.8% -------------------------------------------------------------------------- for-loop [35] 50.0% find-matches [27] 50.0% [35] 5180(4.0%) 0(0.0%) for-loop ...mple-ranges/src/core/simplify.rkt:57:8 for-loop [35] 50.0% match-e [43] 50.0% -------------------------------------------------------------------------- errors [29] 100.0% [36] 1174(0.9%) 0(0.0%) for-loop ...ove-sample-ranges/src/points.rkt:204:2 ??? [40] 100.0% -------------------------------------------------------------------------- for-loop [30] 100.0% [37] 960(0.7%) 960(0.7%) for-loop ...le-ranges/src/core/simplify.rkt:119:23 -------------------------------------------------------------------------- for-loop [31] 100.0% [38] 898(0.7%) 0(0.0%) for-loop ...mple-ranges/src/core/simplify.rkt:70:4 merge-egraph-nodes! [44] 100.0% -------------------------------------------------------------------------- debug-print [32] 100.0% [39] 376(0.3%) 0(0.0%) ??? .../contract/private/arrow-val-first.rkt:428:3 mk-call [45] 100.0% -------------------------------------------------------------------------- for-loop [36] 0.3% run [4] 49.8% [40] 128894(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [1] 49.8% loop [9] 35.6% run-improve43 [2] 13.5% eval-errors [48] 0.2% oracle-error [50] 0.2% errors [29] 0.2% ??? [87] 0.2% ulp-difference [64] 0.2% ??? [90] 0.1% -------------------------------------------------------------------------- expression-cost [33] 100.0% [41] 16390(12.7%) 310(0.2%) compile ...ve-sample-ranges/src/programs.rkt:134:0 hash-ref! [68] 98.1% -------------------------------------------------------------------------- for-loop [34] 100.0% [42] 5212(4.0%) 3420(2.7%) table-ref ...ove-sample-ranges/src/common.rkt:41:0 for-loop [47] 28.6% assoc-iterate-first [53] 5.8% -------------------------------------------------------------------------- for-loop [35] 100.0% [43] 5180(4.0%) 1702(1.3%) match-e ...-sample-ranges/src/core/ematch.rkt:39:0 for-loop [46] 55.4% make-sequence [52] 5.9% constant? [54] 5.8% -------------------------------------------------------------------------- merge-egraph-nodes! [44] 16.8% for-loop [38] 83.2% [44] 898(0.7%) 0(0.0%) merge-egraph-nodes! ...s/src/core/egraph.rkt:143:0 update-leader! [49] 51.3% enode-merge! [55] 31.8% merge-egraph-nodes! [44] 16.8% -------------------------------------------------------------------------- ??? [39] 100.0% [45] 376(0.3%) 0(0.0%) mk-call ...tract/private/arrow-val-first.rkt:431:5 loop [51] 100.0% -------------------------------------------------------------------------- match-e [43] 100.0% [46] 2872(2.2%) 900(0.7%) for-loop ...ample-ranges/src/core/ematch.rkt:52:11 cartesian-product [56] 47.4% foldr [61] 10.8% loop [63] 10.4% -------------------------------------------------------------------------- table-ref [42] 100.0% [47] 1492(1.2%) 1492(1.2%) for-loop ...move-sample-ranges/src/common.rkt:43:4 -------------------------------------------------------------------------- ??? [40] 100.0% [48] 638(0.5%) 0(0.0%) eval-errors ...-sample-ranges/src/points.rkt:177:0 for-loop [57] 100.0% -------------------------------------------------------------------------- merge-egraph-nodes! [44] 100.0% [49] 612(0.5%) 0(0.0%) update-leader! ...ranges/src/core/egraph.rkt:211:0 for-loop [58] 100.0% -------------------------------------------------------------------------- ??? [40] 100.0% [50] 590(0.5%) 0(0.0%) oracle-error ...sample-ranges/src/points.rkt:186:0 for-loop [59] 100.0% -------------------------------------------------------------------------- mk-call [45] 100.0% [51] 376(0.3%) 0(0.0%) loop ...contract/private/arrow-val-first.rkt:435:8 ??? [60] 100.0% -------------------------------------------------------------------------- match-e [43] 100.0% [52] 308(0.2%) 308(0.2%) make-sequence ...ects/racket/private/for.rkt:528:2 -------------------------------------------------------------------------- table-ref [42] 100.0% [53] 300(0.2%) 300(0.2%) assoc-iterate-first ...cket/private/dict.rkt:166:0 -------------------------------------------------------------------------- match-e [43] 100.0% [54] 298(0.2%) 0(0.0%) constant? ...le-ranges/src/syntax/syntax.rkt:721:0 value? [62] 100.0% -------------------------------------------------------------------------- merge-egraph-nodes! [44] 100.0% [55] 286(0.2%) 286(0.2%) enode-merge! ...le-ranges/src/core/enode.rkt:124:0 -------------------------------------------------------------------------- for-loop [46] 100.0% [56] 1362(1.1%) 1362(1.1%) cartesian-product ...ollects/racket/list.rkt:822:0 -------------------------------------------------------------------------- eval-errors [48] 100.0% [57] 638(0.5%) 0(0.0%) for-loop ...ove-sample-ranges/src/points.rkt:179:2 ??? [87] 52.0% ulp-difference [64] 48.0% -------------------------------------------------------------------------- update-leader! [49] 100.0% [58] 612(0.5%) 0(0.0%) for-loop ...ample-ranges/src/core/egraph.rkt:216:6 for-loop [66] 50.7% hash-update! [70] 49.3% -------------------------------------------------------------------------- oracle-error [50] 100.0% [59] 590(0.5%) 0(0.0%) for-loop ...ove-sample-ranges/src/points.rkt:187:2 map [80] 50.5% loop [63] 49.5% -------------------------------------------------------------------------- loop [51] 100.0% [60] 376(0.3%) 0(0.0%) ??? ...ects/racket/contract/private/prop.rkt:519:4 ??? [65] 100.0% -------------------------------------------------------------------------- for-loop [46] 100.0% [61] 310(0.2%) 310(0.2%) foldr ....0/collects/racket/private/list.rkt:242:4 -------------------------------------------------------------------------- constant? [54] 100.0% [62] 298(0.2%) 298(0.2%) value? ...-sample-ranges/src/syntax/types.rkt:18:0 -------------------------------------------------------------------------- map [80] 0.0% for-loop [46] 0.2% make-exacts-walkup [19] 0.3% for-loop [59] 0.3% loop [20] 1.0% ??? [3] 4.7% loop [63] 93.6% [63] 95124(73.8%) 1146(0.9%) loop ...-7.0/collects/racket/private/map.rkt:40:19 loop [63] 93.6% hash-ref! [68] 4.7% composed [67] 1.2% ??? [72] 0.3% ??? [90] 0.0% -------------------------------------------------------------------------- for-loop [57] 34.4% ??? [40] 65.6% [64] 890(0.7%) 0(0.0%) ulp-difference ...sample-ranges/src/float.rkt:46:0 infer-representation [69] 100.0% -------------------------------------------------------------------------- ??? [60] 100.0% [65] 376(0.3%) 0(0.0%) ??? ...ects/racket/contract/private/list.rkt:681:0 contract-struct-first-order [71]100.0% -------------------------------------------------------------------------- for-loop [58] 100.0% [66] 310(0.2%) 0(0.0%) for-loop ...ample-ranges/src/core/egraph.rkt:217:8 hash-update! [70] 100.0% -------------------------------------------------------------------------- loop [63] 100.0% [67] 88960(69.0%) 0(0.0%) composed ...ollects/racket/private/list.rkt:321:16 ??? [87] 100.0% -------------------------------------------------------------------------- localize-error [23] 0.8% map [80] 1.9% eval-prog [28] 7.3% loop [63] 16.3% compile [41] 24.3% ??? [3] 49.3% [68] 21838(16.9%) 15178(11.8%) hash-ref! .../racket/private/more-scheme.rkt:376:2 ??? [3] 66.6% bigfloat-hash [73] 7.3% parse-loop30 [76] 2.7% -------------------------------------------------------------------------- ulp-difference [64] 100.0% [69] 890(0.7%) 0(0.0%) infer-representation ...-ranges/src/float.rkt:15:0 return/no-unsupplied [74] 100.0% -------------------------------------------------------------------------- for-loop [58] 49.3% for-loop [66] 50.7% [70] 612(0.5%) 0(0.0%) hash-update! ...cket/private/more-scheme.rkt:365:4 ??? [75] 100.0% -------------------------------------------------------------------------- ??? [65] 100.0% [71] 376(0.3%) 376(0.3%) contract-struct-first-order ...ivate/prop.rkt:93:0 -------------------------------------------------------------------------- loop [63] 100.0% [72] 292(0.2%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:357:33 ->flonum [77] 100.0% -------------------------------------------------------------------------- hash-ref! [68] 100.0% [73] 5168(4.0%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:167:0 bfcanonicalize [78] 66.3% sig+exp->bigfloat [79] 22.3% bigfloat->sig+exp [84] 5.8% bigfloat-signbit [83] 5.6% -------------------------------------------------------------------------- infer-representation [69] 100.0% [74] 890(0.7%) 890(0.7%) return/no-unsupplied ...ct/private/arr-i.rkt:534:0 -------------------------------------------------------------------------- hash-update! [70] 100.0% [75] 612(0.5%) 0(0.0%) ??? ...ve-sample-ranges/src/core/egraph.rkt:219:24 for-loop [81] 100.0% -------------------------------------------------------------------------- hash-ref! [68] 100.0% [76] 590(0.5%) 0(0.0%) parse-loop30 ...s/racket/match/compiler.rkt:418:15 map [80] 94.5% for-loop [82] 5.5% -------------------------------------------------------------------------- ??? [72] 100.0% [77] 292(0.2%) 292(0.2%) ->flonum ...move-sample-ranges/src/float.rkt:149:0 -------------------------------------------------------------------------- bigfloat-hash [73] 100.0% [78] 3428(2.7%) 3070(2.4%) bfcanonicalize .../private/bigfloat/mpfr.rkt:157:0 bigfloat->sig+exp [84] 10.4% -------------------------------------------------------------------------- bigfloat-hash [73] 100.0% [79] 1154(0.9%) 0(0.0%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:387:0 new-mpfr [102] 100.0% -------------------------------------------------------------------------- for-loop [59] 33.6% parse-loop30 [76] 66.4% [80] 888(0.7%) 0(0.0%) map ...t-7.0/collects/racket/private/map.rkt:35:13 hash-ref! [68] 49.7% ??? [85] 33.6% loop [63] 16.8% -------------------------------------------------------------------------- ??? [75] 100.0% [81] 612(0.5%) 612(0.5%) for-loop ...mple-ranges/src/core/egraph.rkt:220:26 -------------------------------------------------------------------------- parse-loop30 [76] 100.0% [82] 292(0.2%) 0(0.0%) for-loop ...ple-ranges/src/core/localize.rkt:45:21 for-loop [86] 100.0% -------------------------------------------------------------------------- bigfloat-hash [73] 100.0% [83] 288(0.2%) 288(0.2%) bigfloat-signbit ...rivate/bigfloat/mpfr.rkt:362:0 -------------------------------------------------------------------------- bigfloat-hash [73] 45.4% bfcanonicalize [78] 54.6% [84] 656(0.5%) 298(0.2%) bigfloat->sig+exp ...ivate/bigfloat/mpfr.rkt:372:0 new-mpz [88] 54.6% -------------------------------------------------------------------------- map [80] 100.0% [85] 298(0.2%) 0(0.0%) ??? ...ie/move-sample-ranges/src/points.rkt:188:26 ??? [87] 100.0% -------------------------------------------------------------------------- for-loop [82] 100.0% [86] 292(0.2%) 0(0.0%) for-loop ...ple-ranges/src/core/localize.rkt:46:23 ??? [103] 100.0% -------------------------------------------------------------------------- ??? [85] 0.3% for-loop [57] 0.4% ??? [40] 0.7% composed [67] 98.6% [87] 90180(70.0%) 0(0.0%) ??? ...ie/move-sample-ranges/src/programs.rkt:99:2 ??? [89] 100.0% -------------------------------------------------------------------------- bigfloat->sig+exp [84] 100.0% [88] 358(0.3%) 358(0.3%) new-mpz ...-lib/math/private/bigfloat/gmp.rkt:73:0 -------------------------------------------------------------------------- ??? [87] 100.0% [89] 90180(70.0%) 0(0.0%) ??? ...t-7.0/collects/racket/private/kw.rkt:592:14 ??? [90] 98.6% ??? [91] 1.4% -------------------------------------------------------------------------- loop [63] 0.3% ??? [40] 0.4% ??? [89] 99.3% [90] 89626(69.5%) 1698(1.3%) ??? ...tract/private/arrow-higher-order.rkt:361:33 bf-complex-mult [92] 89.8% bf-complex-add [93] 8.3% -------------------------------------------------------------------------- ??? [89] 100.0% [91] 1220(0.9%) 932(0.7%) ??? ...-sample-ranges/src/syntax/syntax.rkt:209:17 ??? [94] 23.6% -------------------------------------------------------------------------- ??? [90] 100.0% [92] 80476(62.4%) 2066(1.6%) bf-complex-mult ...-ranges/src/bigcomplex.rkt:30:0 bf* [95] 60.3% ??? [97] 34.6% ...higher-order.rkt:361:33 [96] 2.6% -------------------------------------------------------------------------- ??? [90] 100.0% [93] 7452(5.8%) 486(0.4%) bf-complex-add ...e-ranges/src/bigcomplex.rkt:23:0 ??? [97] 88.0% ...higher-order.rkt:361:33 [96] 5.5% -------------------------------------------------------------------------- ??? [91] 100.0% [94] 288(0.2%) 288(0.2%) ??? ...s/racket/contract/private/arr-i.rkt:1252:29 -------------------------------------------------------------------------- bf-complex-mult [92] 100.0% [95] 48498(37.6%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [97] 100.0% -------------------------------------------------------------------------- bf-complex-add [93] 16.4% bf-complex-mult [92] 83.6% [96] 2500(1.9%) 674(0.5%) ...higher-order.rkt:361:33 (unknown source) ??? [98] 73.0% -------------------------------------------------------------------------- bf-complex-add [93] 7.9% bf-complex-mult [92] 33.6% bf* [95] 58.5% [97] 82876(64.3%) 5636(4.4%) ??? ...-racket/utils/simple-result-arrow.rkt:39:12 bfmul [99] 87.8% bfneg [100] 5.4% -------------------------------------------------------------------------- ...higher-order.rkt:361:33 [96] 100.0% [98] 1826(1.4%) 692(0.5%) ??? ...cts/racket/contract/private/list.rkt:209:10 ??? [101] 62.1% -------------------------------------------------------------------------- ??? [97] 100.0% [99] 72724(56.4%) 2310(1.8%) bfmul ...-lib/math/private/bigfloat/mpfr.rkt:821:4 new-mpfr [102] 64.4% ??? [103] 32.4% -------------------------------------------------------------------------- ??? [97] 100.0% [100] 4516(3.5%) 664(0.5%) bfneg ...-lib/math/private/bigfloat/mpfr.rkt:618:4 ??? [103] 49.9% new-mpfr [102] 35.4% -------------------------------------------------------------------------- ??? [98] 100.0% [101] 1134(0.9%) 1134(0.9%) ??? ...ects/racket/contract/private/guts.rkt:746:8 -------------------------------------------------------------------------- sig+exp->bigfloat [79] 2.3% bfneg [100] 3.2% bfmul [99] 94.5% [102] 49614(38.5%) 49614(38.5%) new-mpfr ...b/math/private/bigfloat/mpfr.rkt:335:0 -------------------------------------------------------------------------- for-loop [86] 1.1% bfneg [100] 8.6% bfmul [99] 90.2% [103] 26098(20.2%) 26098(20.2%) ??? /opt/racket-7.0/collects/ffi/unsafe.rkt:898:4 --------------------------------------------------------------------------