Profiling results ----------------- Total cpu time observed: 48162ms (out of 47924ms) Number of samples taken: 120 (once every 401ms) (Hiding functions with self<1.0% and local<2.0%: 2 of 84 hidden) ===================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ===================================================================== ??? [16] 100.0% [1] 46844(97.3%) 0(0.0%) profile-thunk16 ...t/pkgs/profile-lib/main.rkt:9:0 run [5] 100.0% --------------------------------------------------------------------- ??? [16] 100.0% [2] 8548(17.7%) 0(0.0%) run-improve50 ...n-out-code/src/mainloop.rkt:234:0 for-loop [7] 49.7% loop [18] 39.3% prepare-points [6] 6.7% ??? [47] 4.3% --------------------------------------------------------------------- location-do [19] 3.1% for-loop [20] 3.1% for-loop [69] 5.1% ??? [32] 17.3% loop [36] 71.5% [3] 6376(13.2%) 714(1.5%) ??? ...tract/private/arrow-higher-order.rkt:342:33 location-do [19] 85.7% approximate9 [8] 3.1% --------------------------------------------------------------------- hash-ref! [60] 100.0% [4] 2030(4.2%) 0(0.0%) ??? ...erbie/clean-out-code/src/programs.rkt:194:5 loop [36] 83.6% hash-ref! [60] 16.4% --------------------------------------------------------------------- profile-thunk16 [1] 98.6% [5] 47520(98.7%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:39:2 ??? [16] 100.0% --------------------------------------------------------------------- run-improve50 [2] 7.6% ??? [16] 92.4% [6] 7544(15.7%) 0(0.0%) prepare-points ...an-out-code/src/points.rkt:214:0 make-exacts* [29] 34.4% loop [21] 32.3% loop [30] 29.0% for-loop [24] 4.2% --------------------------------------------------------------------- run-improve50 [2] 100.0% [7] 4250(8.8%) 0(0.0%) for-loop ...clean-out-code/src/mainloop.rkt:249:10 run-iter! [9] 100.0% --------------------------------------------------------------------- ??? [3] 100.0% [8] 390(0.8%) 0(0.0%) approximate9 ...-out-code/src/core/taylor.rkt:12:0 loop [10] 100.0% --------------------------------------------------------------------- for-loop [7] 100.0% [9] 4250(8.8%) 0(0.0%) run-iter! ...clean-out-code/src/mainloop.rkt:215:0 simplify! [11] 75.6% finalize-iter! [12] 15.2% gen-series! [13] 9.2% --------------------------------------------------------------------- approximate9 [8] 100.0% [10] 390(0.8%) 390(0.8%) loop ...ie/clean-out-code/src/core/taylor.rkt:86:4 --------------------------------------------------------------------- run-iter! [9] 100.0% [11] 3212(6.7%) 0(0.0%) simplify! ...clean-out-code/src/mainloop.rkt:155:0 for-loop [14] 100.0% --------------------------------------------------------------------- run-iter! [9] 100.0% [12] 648(1.3%) 0(0.0%) finalize-iter! ...-out-code/src/mainloop.rkt:169:0 ??? [47] 100.0% --------------------------------------------------------------------- run-iter! [9] 100.0% [13] 390(0.8%) 0(0.0%) gen-series! ...ean-out-code/src/mainloop.rkt:129:0 for-loop [15] 100.0% --------------------------------------------------------------------- simplify! [11] 100.0% [14] 3212(6.7%) 0(0.0%) for-loop .../clean-out-code/src/mainloop.rkt:159:6 ??? [16] 100.0% --------------------------------------------------------------------- gen-series! [13] 100.0% [15] 390(0.8%) 0(0.0%) for-loop .../clean-out-code/src/mainloop.rkt:135:7 taylor-alt [17] 100.0% --------------------------------------------------------------------- for-loop [14] 2.2% run [5] 49.3% [16] 47832(99.3%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [1] 47.8% loop [18] 34.8% run-improve50 [2] 7.8% prepare-points [6] 7.3% location-do [19] 2.2% --------------------------------------------------------------------- for-loop [15] 100.0% [17] 390(0.8%) 0(0.0%) taylor-alt ...ie/clean-out-code/src/glue.rkt:134:0 for-loop [20] 100.0% --------------------------------------------------------------------- run-improve50 [2] 9.4% ??? [16] 90.6% [18] 35668(74.1%) 0(0.0%) loop ...herbie/clean-out-code/src/points.rkt:238:2 make-exacts* [29] 33.5% loop [21] 31.8% loop [30] 29.7% for-loop [24] 4.1% --------------------------------------------------------------------- location-do [19] 2.9% for-loop [22] 18.1% ??? [16] 18.1% ??? [3] 60.9% [19] 8874(18.4%) 2050(4.3%) location-do ...acket/private/norm-define.rkt:53:83 for-loop [22] 18.1% iterate-egraph!13 [23] 16.2% return/no-unsupplied [25] 15.2% ??? [26] 13.2% for-loop [27] 7.8% location-do [19] 2.9% loop [28] 1.9% ??? [3] 1.5% --------------------------------------------------------------------- taylor-alt [17] 100.0% [20] 390(0.8%) 0(0.0%) for-loop ...rbie/clean-out-code/src/glue.rkt:139:6 ??? [3] 100.0% --------------------------------------------------------------------- prepare-points [6] 17.7% loop [18] 82.3% [21] 13790(28.6%) 0(0.0%) loop ...herbie/clean-out-code/src/points.rkt:158:2 make-exacts* [29] 57.5% loop [30] 42.5% --------------------------------------------------------------------- location-do [19] 100.0% [22] 3212(6.7%) 0(0.0%) for-loop ...n-out-code/src/core/simplify.rkt:66:12 location-do [19] 100.0% --------------------------------------------------------------------- location-do [19] 100.0% [23] 2880(6.0%) 0(0.0%) iterate-egraph!13 ...e/src/core/simplify.rkt:105:0 one-iter [31] 100.0% --------------------------------------------------------------------- prepare-points [6] 18.0% loop [18] 82.0% [24] 1780(3.7%) 0(0.0%) for-loop ...e/clean-out-code/src/points.rkt:255:26 ??? [32] 100.0% --------------------------------------------------------------------- location-do [19] 100.0% [25] 1352(2.8%) 680(1.4%) return/no-unsupplied ...ct/private/arr-i.rkt:533:0 filter [34] 49.7% --------------------------------------------------------------------- location-do [19] 100.0% [26] 1174(2.4%) 380(0.8%) ??? ...racket/collects/racket/private/kw.rkt:761:9 ??? [33] 67.6% --------------------------------------------------------------------- location-do [19] 100.0% [27] 696(1.4%) 696(1.4%) for-loop ...bie/clean-out-code/src/points.rkt:47:4 --------------------------------------------------------------------- location-do [19] 100.0% [28] 332(0.7%) 0(0.0%) loop ...clean-out-code/src/core/simplify.rkt:237:2 pass [35] 100.0% --------------------------------------------------------------------- prepare-points [6] 11.6% loop [21] 35.3% loop [18] 53.2% [29] 22468(46.7%) 0(0.0%) make-exacts* ...lean-out-code/src/points.rkt:138:0 loop [36] 74.6% eval-prog [37] 25.4% --------------------------------------------------------------------- prepare-points [6] 11.7% loop [21] 31.4% loop [18] 56.8% [30] 18650(38.7%) 382(0.8%) loop ...herbie/clean-out-code/src/points.rkt:141:4 loop [36] 97.3% ??? [70] 0.7% --------------------------------------------------------------------- iterate-egraph!13 [23] 100.0% [31] 2880(6.0%) 0(0.0%) one-iter ...n-out-code/src/core/simplify.rkt:116:0 for-loop [38] 55.3% for-loop [39] 44.7% --------------------------------------------------------------------- for-loop [24] 100.0% [32] 1780(3.7%) 320(0.7%) ??? .../herbie/clean-out-code/src/points.rkt:230:7 ??? [3] 61.9% parse-loop318 [40] 20.1% --------------------------------------------------------------------- ??? [26] 100.0% [33] 794(1.6%) 794(1.6%) ??? ...s/racket/contract/private/arr-i.rkt:1233:27 --------------------------------------------------------------------- return/no-unsupplied [25] 100.0% [34] 672(1.4%) 672(1.4%) filter ...t/collects/racket/private/list.rkt:256:2 --------------------------------------------------------------------- loop [28] 100.0% [35] 332(0.7%) 0(0.0%) pass ...clean-out-code/src/core/simplify.rkt:227:2 for-loop [41] 100.0% --------------------------------------------------------------------- loop! [53] 1.9% make-exacts* [29] 2.1% loop [30] 2.6% ??? [4] 4.4% loop [36] 89.0% [36] 38224(79.4%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:25:19 loop [36] 89.0% ??? [70] 4.6% hash-ref! [60] 4.4% loop! [53] 1.9% ??? [3] 0.2% ??? [44] 0.0% --------------------------------------------------------------------- make-exacts* [29] 100.0% [37] 5700(11.8%) 732(1.5%) eval-prog ...clean-out-code/src/programs.rkt:150:0 hash-ref! [60] 82.5% [running body] [46] 2.9% --------------------------------------------------------------------- one-iter [31] 100.0% [38] 1592(3.3%) 0(0.0%) for-loop ...n-out-code/src/core/simplify.rkt:166:2 for-loop [42] 100.0% --------------------------------------------------------------------- for-loop [39] 50.0% one-iter [31] 50.0% [39] 1288(2.7%) 0(0.0%) for-loop ...-out-code/src/core/simplify.rkt:126:12 for-loop [39] 50.0% match-e [43] 50.0% --------------------------------------------------------------------- ??? [32] 100.0% [40] 358(0.7%) 358(0.7%) parse-loop318 .../racket/match/compiler.rkt:418:15 --------------------------------------------------------------------- pass [35] 100.0% [41] 332(0.7%) 0(0.0%) for-loop ...-out-code/src/core/simplify.rkt:230:29 argmin [45] 100.0% --------------------------------------------------------------------- for-loop [38] 100.0% [42] 1592(3.3%) 0(0.0%) for-loop ...-out-code/src/core/simplify.rkt:148:10 loop! [53] 61.2% merge-egraph-nodes! [49] 38.8% --------------------------------------------------------------------- for-loop [51] 12.7% for-loop [39] 87.3% [43] 1288(2.7%) 318(0.7%) match-e ...clean-out-code/src/core/ematch.rkt:46:0 for-loop [48] 50.0% for-loop [51] 12.7% ??? [47] 12.7% --------------------------------------------------------------------- loop [36] 100.0% [44] 346(0.7%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:145:21 ??? [76] 100.0% --------------------------------------------------------------------- for-loop [41] 100.0% [45] 332(0.7%) 0(0.0%) argmin ...re/racket/collects/racket/list.rkt:743:0 expression-cost [50] 100.0% --------------------------------------------------------------------- eval-prog [37] 100.0% [46] 164(0.3%) 0(0.0%) [running body] ...t/collects/syntax/id-set.rkt:##f do-partial-app [52] 100.0% --------------------------------------------------------------------- match-e [43] 24.3% run-improve50 [2] 27.5% finalize-iter! [12] 48.2% [47] 1344(2.8%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [54] 48.2% atab-add-altns [55] 27.5% hash-has-key? [57] 24.3% --------------------------------------------------------------------- match-e [43] 100.0% [48] 644(1.3%) 644(1.3%) for-loop ...ean-out-code/src/core/ematch.rkt:59:11 --------------------------------------------------------------------- for-loop [42] 100.0% [49] 618(1.3%) 0(0.0%) merge-egraph-nodes! ...e/src/core/egraph.rkt:153:0 loop! [53] 50.8% for-loop [58] 49.2% --------------------------------------------------------------------- argmin [45] 100.0% [50] 332(0.7%) 0(0.0%) expression-cost ...out-code/src/programs.rkt:209:0 compile [56] 100.0% --------------------------------------------------------------------- match-e [43] 100.0% [51] 326(0.7%) 0(0.0%) for-loop ...ean-out-code/src/core/ematch.rkt:65:37 match-e [43] 100.0% --------------------------------------------------------------------- [running body] [46] 100.0% [52] 164(0.3%) 0(0.0%) do-partial-app ...ntract/private/provide.rkt:383:0 ??? [59] 100.0% --------------------------------------------------------------------- merge-egraph-nodes! [49] 12.2% for-loop [42] 37.8% loop [36] 50.0% [53] 1288(2.7%) 358(0.7%) loop! ...e/clean-out-code/src/core/enode.rkt:192:2 loop [36] 50.0% set [62] 23.9% update-en-expr [63] 12.2% --------------------------------------------------------------------- ??? [47] 100.0% [54] 648(1.3%) 0(0.0%) for-loop ...n-out-code/src/core/alt-table.rkt:51:2 atab-add-altn [61] 100.0% --------------------------------------------------------------------- ??? [47] 100.0% [55] 370(0.8%) 0(0.0%) atab-add-altns ...code/src/core/alt-table.rkt:50:0 atab-add-altn [61] 100.0% --------------------------------------------------------------------- expression-cost [50] 100.0% [56] 332(0.7%) 0(0.0%) compile ...e/clean-out-code/src/programs.rkt:186:0 hash-ref! [60] 100.0% --------------------------------------------------------------------- ??? [47] 100.0% [57] 326(0.7%) 326(0.7%) hash-has-key? ...et/private/more-scheme.rkt:368:13 --------------------------------------------------------------------- merge-egraph-nodes! [49] 100.0% [58] 304(0.6%) 304(0.6%) for-loop ...ean-out-code/src/core/egraph.rkt:233:6 --------------------------------------------------------------------- ??? [59] 50.0% do-partial-app [52] 50.0% [59] 164(0.3%) 164(0.3%) ??? ...ntract/private/arrow-higher-order.rkt:518:2 ??? [59] 50.0% --------------------------------------------------------------------- compile [56] 2.2% ??? [4] 4.4% loop [36] 25.3% eval-prog [37] 68.1% [60] 5034(10.5%) 332(0.7%) hash-ref! ...racket/private/more-scheme.rkt:373:13 bigfloat-hash [64] 68.1% ??? [4] 29.7% --------------------------------------------------------------------- atab-add-altns [55] 36.3% for-loop [54] 63.7% [61] 1018(2.1%) 0(0.0%) atab-add-altn ...code/src/core/alt-table.rkt:208:0 best-and-tied-at-points [65] 100.0% --------------------------------------------------------------------- loop! [53] 100.0% [62] 616(1.3%) 616(1.3%) set ...collects/racket/private/set-types.rkt:981:0 --------------------------------------------------------------------- loop! [53] 100.0% [63] 314(0.7%) 314(0.7%) update-en-expr ...t-code/src/core/egraph.rkt:212:0 --------------------------------------------------------------------- hash-ref! [60] 100.0% [64] 4702(9.8%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 sig+exp->bigfloat [66] 85.9% bfcanonicalize [68] 14.1% --------------------------------------------------------------------- atab-add-altn [61] 100.0% [65] 1018(2.1%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [67] 100.0% --------------------------------------------------------------------- bigfloat-hash [64] 100.0% [66] 4038(8.4%) 4038(8.4%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 --------------------------------------------------------------------- best-and-tied-at-points [65] 100.0% [67] 1018(2.1%) 0(0.0%) errors ...rbie/clean-out-code/src/points.rkt:271:0 for-loop [69] 100.0% --------------------------------------------------------------------- bigfloat-hash [64] 100.0% [68] 664(1.4%) 664(1.4%) bfcanonicalize .../private/bigfloat/mpfr.rkt:155:0 --------------------------------------------------------------------- errors [67] 100.0% [69] 1018(2.1%) 0(0.0%) for-loop ...ie/clean-out-code/src/points.rkt:274:4 ??? [70] 68.4% ??? [3] 31.6% --------------------------------------------------------------------- loop [30] 0.4% for-loop [69] 2.2% loop [36] 97.4% [70] 31154(64.7%) 1044(2.2%) ??? ...erbie/clean-out-code/src/programs.rkt:156:4 ??? [71] 80.4% ??? [72] 16.3% --------------------------------------------------------------------- ??? [70] 100.0% [71] 25034(52.0%) 5360(11.1%) ??? ...acket/collects/racket/private/kw.rkt:444:14 ??? [73] 62.2% ...higher-order.rkt:346:33 [75] 12.8% ??? [77] 2.2% ??? [76] 1.4% --------------------------------------------------------------------- ??? [70] 100.0% [72] 5076(10.5%) 346(0.7%) ??? ...contract/private/../../private/kw.rkt:761:9 real->bigfloat [74] 93.2% --------------------------------------------------------------------- ??? [71] 100.0% [73] 15582(32.4%) 4370(9.1%) ??? ...-racket/utils/simple-result-arrow.rkt:39:12 bfdiv [78] 37.9% bflog [79] 34.1% --------------------------------------------------------------------- ??? [72] 100.0% [74] 4730(9.8%) 2878(6.0%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [82] 39.2% --------------------------------------------------------------------- ??? [71] 100.0% [75] 3198(6.6%) 1424(3.0%) ...higher-order.rkt:346:33 (unknown source) ??? [80] 55.5% --------------------------------------------------------------------- ??? [44] 50.0% ??? [71] 50.0% [76] 692(1.4%) 346(0.7%) ??? ...ects/racket/contract/private/prop.rkt:493:4 ??? [81] 50.0% --------------------------------------------------------------------- ??? [71] 100.0% [77] 548(1.1%) 548(1.1%) ??? ...rivate/unconstrained-domain-arrow.rkt:40:13 --------------------------------------------------------------------- ??? [73] 100.0% [78] 5902(12.3%) 4900(10.2%) bfdiv ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [82] 17.0% --------------------------------------------------------------------- ??? [73] 100.0% [79] 5310(11.0%) 3284(6.8%) bflog ...-lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [82] 38.2% --------------------------------------------------------------------- ...higher-order.rkt:346:33 [75]100.0% [80] 1774(3.7%) 1774(3.7%) ??? ...cts/racket/contract/private/list.rkt:187:10 --------------------------------------------------------------------- ??? [76] 100.0% [81] 346(0.7%) 346(0.7%) ??? ...lects/racket/contract/private/orc.rkt:83:14 --------------------------------------------------------------------- bfdiv [78] 20.5% real->bigfloat [74] 38.0% bflog [79] 41.5% [82] 4880(10.1%) 4880(10.1%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------