Profiling results ----------------- Total cpu time observed: 21972ms (out of 22512ms) Number of samples taken: 89 (once every 247ms) (Hiding functions with self<1.0% and local<2.0%: 1 of 94 hidden) ===================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ===================================================================== ??? [12] 100.0% [1] 20886(95.1%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [6] 100.0% --------------------------------------------------------------------- ??? [12] 100.0% [2] 1024(4.7%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [9] 39.5% for-loop [10] 39.1% iterate-egraph!5 [13] 21.5% --------------------------------------------------------------------- location-do [55] 100.0% [3] 640(2.9%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [8] 68.8% taylor-quotient [11] 31.2% --------------------------------------------------------------------- hash-ref! [66] 100.0% [4] 440(2.0%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:338:33 for-loop [7] 100.0% --------------------------------------------------------------------- copying-mergesort [54] 100.0% [5] 432(2.0%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [63] 100.0% --------------------------------------------------------------------- profile-thunk14 [1] 100.0% [6] 20886(95.1%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [12] 100.0% --------------------------------------------------------------------- ??? [4] 100.0% [7] 440(2.0%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:341:46 hash-ref! [66] 100.0% --------------------------------------------------------------------- approximate9 [3] 100.0% [8] 440(2.0%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [66] 100.0% --------------------------------------------------------------------- simplify [2] 100.0% [9] 404(1.8%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [13] 50.0% debug7 [46] 50.0% --------------------------------------------------------------------- simplify [2] 100.0% [10] 400(1.8%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [13] 100.0% --------------------------------------------------------------------- approximate9 [3] 100.0% [11] 200(0.9%) 0(0.0%) taylor-quotient ...erbie/src/core/taylor.rkt:328:0 first-nonzero-exp [14] 100.0% --------------------------------------------------------------------- for-loop [35] 1.7% run [6] 47.9% [12] 21520(97.9%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 47.9% loop [15] 40.2% run-improve58 [16] 10.2% simplify [2] 1.7% --------------------------------------------------------------------- simplify-expr [9] 24.6% simplify [2] 26.8% for-loop [10] 48.7% [13] 822(3.7%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [17] 100.0% --------------------------------------------------------------------- taylor-quotient [11] 100.0% [14] 200(0.9%) 0(0.0%) first-nonzero-exp ...bie/src/core/taylor.rkt:260:0 hash-ref! [66] 100.0% --------------------------------------------------------------------- ??? [12] 100.0% [15] 17072(77.7%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [22] 58.9% loop [18] 39.8% loop [23] 1.4% --------------------------------------------------------------------- ??? [12] 100.0% [16] 4448(20.2%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 for-loop [19] 51.4% get-final-combination [20] 48.6% --------------------------------------------------------------------- iterate-egraph!5 [13] 100.0% [17] 822(3.7%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [21] 100.0% --------------------------------------------------------------------- loop [15] 100.0% [18] 6790(30.9%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [23] 62.3% make-exacts* [22] 37.7% --------------------------------------------------------------------- run-improve58 [16] 100.0% [19] 2288(10.4%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [24] 100.0% --------------------------------------------------------------------- run-improve58 [16] 100.0% [20] 2160(9.8%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [25] 100.0% --------------------------------------------------------------------- for-loop [21] 50.0% one-iter [17] 50.0% [21] 822(3.7%) 220(1.0%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [21] 50.0% match-e [26] 36.6% --------------------------------------------------------------------- loop [18] 20.3% loop [15] 79.7% [22] 12610(57.4%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 loop [71] 49.4% map [27] 48.9% eval-prog [65] 1.7% --------------------------------------------------------------------- loop [15] 5.2% loop [18] 94.8% [23] 4462(20.3%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [27] 100.0% --------------------------------------------------------------------- for-loop [19] 100.0% [24] 2288(10.4%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [29] 44.8% gen-series! [30] 28.0% finalize-iter! [31] 18.4% gen-rewrites! [32] 8.8% --------------------------------------------------------------------- get-final-combination [20] 100.0% [25] 2160(9.8%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [28] 78.0% ??? [36] 22.0% --------------------------------------------------------------------- for-loop [41] 16.6% for-loop [21] 83.4% [26] 602(2.7%) 402(1.8%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [33] 33.2% --------------------------------------------------------------------- parse-loop50 [75] 2.0% loop [23] 41.1% make-exacts* [22] 56.9% [27] 10850(49.4%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [71] 100.0% --------------------------------------------------------------------- split-table [25] 100.0% [28] 1684(7.7%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [34] 88.0% debug-print [38] 12.0% --------------------------------------------------------------------- run-iter! [24] 100.0% [29] 1024(4.7%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [35] 100.0% --------------------------------------------------------------------- run-iter! [24] 100.0% [30] 640(2.9%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [37] 100.0% --------------------------------------------------------------------- run-iter! [24] 100.0% [31] 422(1.9%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [36] 100.0% --------------------------------------------------------------------- run-iter! [24] 100.0% [32] 202(0.9%) 0(0.0%) gen-rewrites! ...ock/herbie/src/mainloop.rkt:148:0 for-loop [39] 100.0% --------------------------------------------------------------------- match-e [26] 100.0% [33] 200(0.9%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 for-loop [41] 50.0% list-cartesian-product [40] 50.0% --------------------------------------------------------------------- infer-splitpoints4 [28] 100.0% [34] 1482(6.7%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [42] 86.4% err-lsts->split-indices [47] 13.6% --------------------------------------------------------------------- simplify! [29] 100.0% [35] 1024(4.7%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [12] 100.0% --------------------------------------------------------------------- finalize-iter! [31] 47.0% split-table [25] 53.0% [36] 898(4.1%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 split-atab [44] 53.0% for-loop [45] 47.0% --------------------------------------------------------------------- gen-series! [30] 100.0% [37] 640(2.9%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [43] 100.0% --------------------------------------------------------------------- infer-splitpoints4 [28] 100.0% [38] 202(0.9%) 202(0.9%) debug-print ...ztatlock/herbie/src/debug.rkt:107:0 --------------------------------------------------------------------- gen-rewrites! [32] 100.0% [39] 202(0.9%) 0(0.0%) for-loop ...tatlock/herbie/src/mainloop.rkt:153:11 debug7 [46] 100.0% --------------------------------------------------------------------- for-loop [33] 100.0% [40] 200(0.9%) 200(0.9%) list-cartesian-product ...src/core/ematch.rkt:20:0 --------------------------------------------------------------------- for-loop [33] 100.0% [41] 200(0.9%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [26] 100.0% --------------------------------------------------------------------- option-on-expr [34] 100.0% [42] 1280(5.8%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [48] 100.0% --------------------------------------------------------------------- for-loop [37] 100.0% [43] 640(2.9%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [49] 100.0% --------------------------------------------------------------------- ??? [36] 100.0% [44] 476(2.2%) 0(0.0%) split-atab ...k/herbie/src/core/alt-table.rkt:74:0 for-loop [50] 100.0% --------------------------------------------------------------------- ??? [36] 100.0% [45] 422(1.9%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [51] 100.0% --------------------------------------------------------------------- simplify-expr [9] 50.0% for-loop [39] 50.0% [46] 404(1.8%) 0(0.0%) debug7 /home/ztatlock/herbie/src/debug.rkt:102:0 return/no-unsupplied [52] 100.0% --------------------------------------------------------------------- option-on-expr [34] 100.0% [47] 202(0.9%) 0(0.0%) err-lsts->split-indices .../core/regimes.rkt:224:0 add-splitpoint [53] 100.0% --------------------------------------------------------------------- sort-context-on-expr [42] 100.0% [48] 1280(5.8%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [54] 66.7% loop [60] 33.3% --------------------------------------------------------------------- taylor-alt [43] 100.0% [49] 640(2.9%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [55] 100.0% --------------------------------------------------------------------- split-atab [44] 100.0% [50] 476(2.2%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:75:2 for-loop [56] 100.0% --------------------------------------------------------------------- for-loop [45] 100.0% [51] 422(1.9%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [57] 100.0% --------------------------------------------------------------------- debug7 [46] 100.0% [52] 404(1.8%) 202(0.9%) return/no-unsupplied ...ct/private/arr-i.rkt:534:0 filter [58] 50.0% --------------------------------------------------------------------- err-lsts->split-indices [47] 100.0% [53] 202(0.9%) 0(0.0%) add-splitpoint ...erbie/src/core/regimes.rkt:237:2 for-loop [59] 100.0% --------------------------------------------------------------------- copying-mergesort [54] 49.6% sort [48] 50.4% [54] 854(3.9%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [54] 49.6% loop [60] 37.7% jloop [5] 12.6% --------------------------------------------------------------------- for-loop [49] 22.1% location-do [55] 77.9% [55] 640(2.9%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 location-do [55] 77.9% approximate9 [3] 22.1% --------------------------------------------------------------------- for-loop [50] 100.0% [56] 476(2.2%) 0(0.0%) for-loop ...ck/herbie/src/core/alt-table.rkt:86:30 ??? [61] 100.0% --------------------------------------------------------------------- atab-add-altn [51] 100.0% [57] 422(1.9%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [62] 100.0% --------------------------------------------------------------------- return/no-unsupplied [52] 100.0% [58] 202(0.9%) 202(0.9%) filter ...t/collects/racket/private/list.rkt:256:2 --------------------------------------------------------------------- add-splitpoint [53] 100.0% [59] 202(0.9%) 202(0.9%) for-loop ...lock/herbie/src/core/regimes.rkt:239:4 --------------------------------------------------------------------- copying-mergesort [54] 49.8% sort [48] 50.2% [60] 848(3.9%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [63] 100.0% --------------------------------------------------------------------- for-loop [56] 100.0% [61] 476(2.2%) 0(0.0%) ??? .../ztatlock/herbie/src/core/regimes.rkt:291:8 eval-prog [65] 100.0% --------------------------------------------------------------------- best-and-tied-at-points [57] 100.0% [62] 422(1.9%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [64] 100.0% --------------------------------------------------------------------- jloop [5] 33.8% loop [60] 66.2% [63] 1280(5.8%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [65] 100.0% --------------------------------------------------------------------- errors [62] 100.0% [64] 422(1.9%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [73] 100.0% --------------------------------------------------------------------- make-exacts* [22] 10.7% ??? [61] 24.2% ??? [63] 65.1% [65] 1966(8.9%) 1756(8.0%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [66] 10.7% --------------------------------------------------------------------- loop [71] 12.4% eval-prog [65] 12.4% for-loop [7] 17.3% ??? [68] 17.3% loop [8] 17.3% first-nonzero-exp [14] 23.5% [66] 850(3.9%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 simplify [67] 40.8% ??? [68] 17.3% ??? [4] 17.3% ??? [70] 12.4% bigfloat-hash [69] 12.4% --------------------------------------------------------------------- hash-ref! [66] 100.0% [67] 640(2.9%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 parse-loop50 [75] 100.0% --------------------------------------------------------------------- hash-ref! [66] 100.0% [68] 440(2.0%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [66] 100.0% --------------------------------------------------------------------- hash-ref! [66] 100.0% [69] 210(1.0%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 sig+exp->bigfloat [72] 100.0% --------------------------------------------------------------------- hash-ref! [66] 100.0% [70] 210(1.0%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [71] 100.0% --------------------------------------------------------------------- make-exacts* [22] 0.1% parse-loop50 [75] 0.2% ??? [70] 0.6% map [27] 2.9% loop [71] 96.1% [71] 17526(79.8%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [71] 96.1% ??? [73] 2.8% hash-ref! [66] 0.6% parse-loop50 [75] 0.5% ->flonum [74] 0.1% --------------------------------------------------------------------- bigfloat-hash [69] 100.0% [72] 210(1.0%) 210(1.0%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 --------------------------------------------------------------------- for-loop [64] 2.6% loop [71] 97.4% [73] 16542(75.3%) 680(3.1%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [76] 84.0% real->bigfloat [77] 8.9% ??? [88] 3.0% --------------------------------------------------------------------- loop [71] 100.0% [74] 978(4.5%) 232(1.1%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [90] 52.4% ??? [78] 23.9% --------------------------------------------------------------------- parse-loop50 [75] 17.3% loop [71] 22.7% simplify [67] 59.9% [75] 640(2.9%) 640(2.9%) parse-loop50 ...s/racket/match/compiler.rkt:410:15 parse-loop50 [75] 17.3% map [27] 11.4% loop [71] 11.4% --------------------------------------------------------------------- ??? [73] 100.0% [76] 13898(63.3%) 642(2.9%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [85] 73.3% bfcube [79] 7.1% bf* [83] 6.5% ...higher-order.rkt:373:33 [80] 5.1% bf<= [81] 1.7% ...higher-order.rkt:369:33 [82] 1.7% --------------------------------------------------------------------- ??? [73] 100.0% [77] 1470(6.7%) 1236(5.6%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [91] 15.9% --------------------------------------------------------------------- ->flonum [74] 100.0% [78] 234(1.1%) 0(0.0%) ??? ...-racket/utils/simple-result-arrow.rkt:47:15 ??? [91] 100.0% --------------------------------------------------------------------- ??? [76] 100.0% [79] 990(4.5%) 0(0.0%) bfcube ...tlock/herbie/src/syntax/syntax.rkt:119:0 bf* [83] 75.8% ...ow-val-first.rkt:357:18 [84] 24.2% --------------------------------------------------------------------- ??? [76] 100.0% [80] 708(3.2%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [88] 67.2% ??? [86] 32.8% --------------------------------------------------------------------- ??? [76] 100.0% [81] 238(1.1%) 0(0.0%) bf<= ...h/private/bigfloat/bigfloat-mpfr.rkt:127:4 ??? [90] 100.0% --------------------------------------------------------------------- ??? [76] 100.0% [82] 232(1.1%) 232(1.1%) ...higher-order.rkt:369:33 (unknown source) --------------------------------------------------------------------- bfcube [79] 45.5% ??? [76] 54.5% [83] 1650(7.5%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [85] 100.0% --------------------------------------------------------------------- bfcube [79] 100.0% [84] 240(1.1%) 0(0.0%) ...ow-val-first.rkt:357:18 (unknown source) ??? [86] 100.0% --------------------------------------------------------------------- bf* [83] 13.9% ??? [76] 86.1% [85] 11838(53.9%) 3956(18.0%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfmul [87] 42.4% ??? [90] 13.8% bfcbrt [89] 10.3% --------------------------------------------------------------------- ...higher-order.rkt:373:33 [80] 49.2% ...ow-val-first.rkt:357:18 [84] 50.8% [86] 472(2.1%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [88] 100.0% --------------------------------------------------------------------- ??? [85] 100.0% [87] 5020(22.8%) 3322(15.1%) bfmul ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [91] 33.8% --------------------------------------------------------------------- ??? [86] 32.7% ...higher-order.rkt:373:33 [80] 33.0% ??? [73] 34.3% [88] 1442(6.6%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [90] 100.0% --------------------------------------------------------------------- ??? [85] 100.0% [89] 1224(5.6%) 1224(5.6%) bfcbrt ...lib/math/private/bigfloat/mpfr.rkt:616:4 --------------------------------------------------------------------- bf<= [81] 6.2% ->flonum [74] 13.4% ??? [88] 37.7% ??? [85] 42.8% [90] 3830(17.4%) 1908(8.7%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [92] 50.2% --------------------------------------------------------------------- ??? [78] 10.8% real->bigfloat [77] 10.8% bfmul [87] 78.4% [91] 2166(9.9%) 2166(9.9%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 --------------------------------------------------------------------- ??? [90] 100.0% [92] 1922(8.7%) 1702(7.7%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [93] 11.4% --------------------------------------------------------------------- ??? [92] 100.0% [93] 220(1.0%) 220(1.0%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ---------------------------------------------------------------------