Profiling results ----------------- Total cpu time observed: 20394ms (out of 20856ms) Number of samples taken: 85 (once every 240ms) (Hiding functions with self<1.0% and local<2.0%: 1 of 90 hidden) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [7] 100.0% [1] 20194(99.0%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [4] 100.0% ---------------------------------------------------------------------- hash-ref! [60] 100.0% [2] 402(2.0%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:392:23 for-loop [5] 100.0% ---------------------------------------------------------------------- hash-ref! [60] 100.0% [3] 222(1.1%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:295:23 for-loop [6] 100.0% ---------------------------------------------------------------------- profile-thunk14 [1] 100.0% [4] 20194(99.0%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [7] 100.0% ---------------------------------------------------------------------- ??? [2] 100.0% [5] 402(2.0%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:396:33 for-loop [8] 100.0% ---------------------------------------------------------------------- ??? [3] 100.0% [6] 222(1.1%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:298:27 hash-ref! [60] 100.0% ---------------------------------------------------------------------- for-loop [31] 0.4% run [4] 49.3% [7] 20394(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 49.3% loop [11] 41.2% run-improve58 [9] 9.1% simplify [10] 0.4% ---------------------------------------------------------------------- for-loop [5] 100.0% [8] 402(2.0%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:398:39 hash-ref! [60] 100.0% ---------------------------------------------------------------------- ??? [7] 100.0% [9] 3780(18.5%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [12] 42.5% finalize-table! [13] 27.1% for-loop [14] 17.5% loop [11] 12.9% ---------------------------------------------------------------------- ??? [7] 100.0% [10] 220(1.1%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 iterate-egraph!5 [56] 100.0% ---------------------------------------------------------------------- run-improve58 [9] 2.8% ??? [7] 97.2% [11] 17100(83.8%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [15] 54.9% make-exacts* [19] 31.9% loop [20] 13.2% ---------------------------------------------------------------------- run-improve58 [9] 100.0% [12] 1606(7.9%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [16] 100.0% ---------------------------------------------------------------------- run-improve58 [9] 100.0% [13] 1026(5.0%) 0(0.0%) finalize-table! ...k/herbie/src/mainloop.rkt:264:0 post-process [17] 100.0% ---------------------------------------------------------------------- run-improve58 [9] 100.0% [14] 662(3.2%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [18] 100.0% ---------------------------------------------------------------------- loop [11] 100.0% [15] 9380(46.0%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [20] 58.7% make-exacts* [19] 36.2% select-every [24] 2.8% eval-prog [59] 2.3% ---------------------------------------------------------------------- get-final-combination [12] 100.0% [16] 1606(7.9%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [21] 100.0% ---------------------------------------------------------------------- finalize-table! [13] 100.0% [17] 1026(5.0%) 0(0.0%) post-process .../ztatlock/herbie/src/glue.rkt:95:0 for-loop [22] 60.8% ??? [28] 19.7% loop [37] 19.5% ---------------------------------------------------------------------- for-loop [14] 100.0% [18] 662(3.2%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 finalize-iter! [23] 66.8% simplify! [25] 33.2% ---------------------------------------------------------------------- loop [15] 38.3% loop [11] 61.7% [19] 8854(43.4%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 loop [37] 51.3% map [26] 43.4% eval-prog [59] 5.3% ---------------------------------------------------------------------- loop [11] 29.1% loop [15] 70.9% [20] 7762(38.1%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [26] 100.0% ---------------------------------------------------------------------- split-table [16] 100.0% [21] 1606(7.9%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [27] 100.0% ---------------------------------------------------------------------- post-process [17] 100.0% [22] 624(3.1%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:119:17 append-map [29] 100.0% ---------------------------------------------------------------------- run-iter! [18] 100.0% [23] 442(2.2%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [28] 100.0% ---------------------------------------------------------------------- loop [15] 100.0% [24] 266(1.3%) 0(0.0%) select-every ...tatlock/herbie/src/points.rkt:71:0 loop [30] 100.0% ---------------------------------------------------------------------- run-iter! [18] 100.0% [25] 220(1.1%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [31] 100.0% ---------------------------------------------------------------------- f16 [75] 2.9% make-exacts* [19] 32.0% loop [20] 64.6% [26] 12010(58.9%) 202(1.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [37] 93.3% ->flonum [64] 1.7% ??? [58] 1.6% f16 [75] 1.0% ---------------------------------------------------------------------- infer-splitpoints4 [21] 100.0% [27] 1606(7.9%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [32] 87.5% err-lsts->split-indices [36] 12.5% ---------------------------------------------------------------------- post-process [17] 31.4% finalize-iter! [23] 68.6% [28] 644(3.2%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [34] 68.6% atab-add-altns [35] 31.4% ---------------------------------------------------------------------- for-loop [22] 100.0% [29] 624(3.1%) 0(0.0%) append-map ...acket/collects/racket/list.rkt:565:2 taylor-alt [33] 100.0% ---------------------------------------------------------------------- select-every [24] 0.1% loop [30] 99.9% [30] 266(1.3%) 266(1.3%) loop /home/ztatlock/herbie/src/points.rkt:72:2 loop [30] 99.9% ---------------------------------------------------------------------- simplify! [25] 100.0% [31] 220(1.1%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [7] 100.0% ---------------------------------------------------------------------- option-on-expr [27] 100.0% [32] 1406(6.9%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [38] 100.0% ---------------------------------------------------------------------- append-map [29] 100.0% [33] 624(3.1%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [40] 100.0% ---------------------------------------------------------------------- ??? [28] 100.0% [34] 442(2.2%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [39] 100.0% ---------------------------------------------------------------------- ??? [28] 100.0% [35] 202(1.0%) 0(0.0%) atab-add-altns ...rbie/src/core/alt-table.rkt:50:0 atab-add-altn [39] 100.0% ---------------------------------------------------------------------- option-on-expr [27] 100.0% [36] 200(1.0%) 0(0.0%) err-lsts->split-indices .../core/regimes.rkt:224:0 add-splitpoint [41] 100.0% ---------------------------------------------------------------------- make-exacts* [19] 0.1% post-process [17] 0.3% map [26] 1.5% loop [37] 96.2% [37] 16352(80.2%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [37] 96.2% f16 [75] 1.8% ??? [58] 1.5% completely-simplify-alt [46] 0.3% ->flonum [64] 0.1% ---------------------------------------------------------------------- sort-context-on-expr [32] 100.0% [38] 1406(6.9%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [42] 71.6% loop [47] 28.4% ---------------------------------------------------------------------- atab-add-altns [35] 31.4% for-loop [34] 68.6% [39] 644(3.2%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [43] 100.0% ---------------------------------------------------------------------- taylor-alt [33] 100.0% [40] 624(3.1%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [44] 100.0% ---------------------------------------------------------------------- err-lsts->split-indices [36] 100.0% [41] 200(1.0%) 0(0.0%) add-splitpoint ...erbie/src/core/regimes.rkt:237:2 for-loop [45] 100.0% ---------------------------------------------------------------------- copying-mergesort [42] 43.5% sort [38] 56.5% [42] 1006(4.9%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 loop [47] 46.5% copying-mergesort [42] 43.5% jloop [50] 10.0% ---------------------------------------------------------------------- atab-add-altn [39] 100.0% [43] 644(3.2%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [49] 68.6% for-loop [51] 31.4% ---------------------------------------------------------------------- location-do [44] 17.8% for-loop [40] 82.2% [44] 624(3.1%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [48] 82.2% location-do [44] 17.8% ---------------------------------------------------------------------- add-splitpoint [41] 100.0% [45] 200(1.0%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:239:4 for-loop [52] 100.0% ---------------------------------------------------------------------- loop [37] 100.0% [46] 200(1.0%) 0(0.0%) completely-simplify-alt ...erbie/src/glue.rkt:87:0 simplify-expr [53] 100.0% ---------------------------------------------------------------------- sort [38] 39.9% copying-mergesort [42] 60.1% [47] 1002(4.9%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [54] 100.0% ---------------------------------------------------------------------- location-do [44] 100.0% [48] 624(3.1%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [55] 100.0% ---------------------------------------------------------------------- best-and-tied-at-points [43] 100.0% [49] 442(2.2%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 eval-prog [59] 54.3% for-loop [57] 45.7% ---------------------------------------------------------------------- copying-mergesort [42] 100.0% [50] 404(2.0%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [54] 100.0% ---------------------------------------------------------------------- best-and-tied-at-points [43] 100.0% [51] 202(1.0%) 202(1.0%) for-loop ...k/herbie/src/core/alt-table.rkt:124:16 ---------------------------------------------------------------------- for-loop [45] 100.0% [52] 200(1.0%) 200(1.0%) for-loop ...lock/herbie/src/core/regimes.rkt:243:8 ---------------------------------------------------------------------- completely-simplify-alt [46] 100.0% [53] 200(1.0%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [56] 100.0% ---------------------------------------------------------------------- jloop [50] 28.7% loop [47] 71.3% [54] 1406(6.9%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [59] 100.0% ---------------------------------------------------------------------- approximate9 [48] 100.0% [55] 624(3.1%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [60] 100.0% ---------------------------------------------------------------------- simplify-expr [53] 47.6% simplify [10] 52.4% [56] 420(2.1%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [61] 100.0% ---------------------------------------------------------------------- errors [49] 100.0% [57] 202(1.0%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [58] 100.0% ---------------------------------------------------------------------- map [26] 1.3% for-loop [57] 1.3% loop [37] 97.4% [58] 15530(76.1%) 682(3.3%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [62] 65.2% real->bigfloat [63] 24.8% ??? [83] 4.4% ->flonum [64] 1.3% ---------------------------------------------------------------------- loop [15] 9.4% errors [49] 10.3% make-exacts* [19] 20.0% ??? [54] 60.3% [59] 2330(11.4%) 1854(9.1%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 parse-app [68] 10.3% inductor [69] 10.1% ---------------------------------------------------------------------- for-loop [6] 11.9% for-loop [8] 21.5% ??? [65] 33.3% loop [55] 33.3% [60] 624(3.1%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [65] 33.3% simplify [66] 33.3% ??? [2] 21.5% ??? [3] 11.9% ---------------------------------------------------------------------- iterate-egraph!5 [56] 100.0% [61] 420(2.1%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [67] 100.0% ---------------------------------------------------------------------- ??? [58] 100.0% [62] 10118(49.6%) 0(0.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [81] 38.4% bffma [70] 34.3% ...higher-order.rkt:369:33 [71] 17.2% bf<= [72] 5.1% ...ow-val-first.rkt:357:18 [80] 2.5% bf* [79] 2.5% ---------------------------------------------------------------------- ??? [58] 100.0% [63] 3848(18.9%) 3406(16.7%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [87] 11.5% ---------------------------------------------------------------------- ??? [58] 19.7% map [26] 19.7% loop [37] 60.5% [64] 1024(5.0%) 192(0.9%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [73] 41.2% ??? [86] 40.0% ---------------------------------------------------------------------- hash-ref! [60] 100.0% [65] 624(3.1%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [60] 100.0% ---------------------------------------------------------------------- hash-ref! [60] 100.0% [66] 624(3.1%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 f16 [75] 64.4% debug7 [78] 35.6% ---------------------------------------------------------------------- for-loop [67] 50.0% one-iter [61] 50.0% [67] 420(2.1%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [67] 50.0% match-e [74] 50.0% ---------------------------------------------------------------------- eval-prog [59] 100.0% [68] 240(1.2%) 0(0.0%) parse-app .../collects/racket/private/kw.rkt:903:2 loop [76] 100.0% ---------------------------------------------------------------------- eval-prog [59] 33.3% inductor [69] 66.7% [69] 236(1.2%) 0(0.0%) inductor .../ztatlock/herbie/src/programs.rkt:73:2 inductor [69] 66.7% integer->bigfloat [77] 33.3% ---------------------------------------------------------------------- ??? [62] 100.0% [70] 3468(17.0%) 0(0.0%) bffma ...atlock/herbie/src/syntax/syntax.rkt:122:0 bf* [79] 75.3% ...ow-val-first.rkt:357:18 [80] 24.7% ---------------------------------------------------------------------- ??? [62] 100.0% [71] 1738(8.5%) 406(2.0%) ...higher-order.rkt:369:33 (unknown source) ??? [82] 76.6% ---------------------------------------------------------------------- ??? [62] 100.0% [72] 512(2.5%) 0(0.0%) bf<= ...h/private/bigfloat/bigfloat-mpfr.rkt:127:4 ??? [86] 100.0% ---------------------------------------------------------------------- ->flonum [64] 100.0% [73] 422(2.1%) 422(2.1%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ---------------------------------------------------------------------- for-loop [67] 100.0% [74] 420(2.1%) 420(2.1%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 ---------------------------------------------------------------------- map [26] 33.3% loop [37] 33.3% simplify [66] 33.3% [75] 402(2.0%) 0(0.0%) f16 ...t/collects/racket/match/compiler.rkt:499:40 map [26] 100.0% ---------------------------------------------------------------------- parse-app [68] 100.0% [76] 240(1.2%) 240(1.2%) loop .../collects/racket/private/stxcase.rkt:112:7 ---------------------------------------------------------------------- inductor [69] 100.0% [77] 236(1.2%) 236(1.2%) integer->bigfloat ...ivate/bigfloat/mpfr.rkt:399:0 ---------------------------------------------------------------------- simplify [66] 100.0% [78] 222(1.1%) 222(1.1%) debug7 /home/ztatlock/herbie/src/debug.rkt:102:0 ---------------------------------------------------------------------- ??? [62] 8.9% bffma [70] 91.1% [79] 2866(14.1%) 220(1.1%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [81] 92.3% ---------------------------------------------------------------------- ??? [62] 23.1% bffma [70] 76.9% [80] 1116(5.5%) 0(0.0%) ...ow-val-first.rkt:357:18 (unknown source) ??? [82] 100.0% ---------------------------------------------------------------------- bf* [79] 40.5% ??? [62] 59.5% [81] 6532(32.0%) 948(4.6%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfmul [84] 33.8% bfsqr [85] 30.6% ??? [86] 21.1% ---------------------------------------------------------------------- ...ow-val-first.rkt:357:18 [80] 45.6% ...higher-order.rkt:369:33 [71] 54.4% [82] 2448(12.0%) 218(1.1%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [83] 91.1% ---------------------------------------------------------------------- ??? [58] 23.4% ??? [82] 76.6% [83] 2910(14.3%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [86] 100.0% ---------------------------------------------------------------------- ??? [81] 100.0% [84] 2208(10.8%) 1238(6.1%) bfmul ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [87] 43.9% ---------------------------------------------------------------------- ??? [81] 100.0% [85] 1996(9.8%) 698(3.4%) bfsqr ...-lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [87] 65.0% ---------------------------------------------------------------------- ->flonum [64] 7.9% bf<= [72] 9.8% ??? [81] 26.5% ??? [83] 55.8% [86] 5212(25.6%) 3450(16.9%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [88] 33.8% ---------------------------------------------------------------------- real->bigfloat [63] 16.3% bfmul [84] 35.8% bfsqr [85] 47.9% [87] 2710(13.3%) 2710(13.3%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- ??? [86] 100.0% [88] 1762(8.6%) 646(3.2%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [89] 63.3% ---------------------------------------------------------------------- ??? [88] 100.0% [89] 1116(5.5%) 1116(5.5%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ----------------------------------------------------------------------