Profiling results ----------------- Total cpu time observed: 14874ms (out of 14468ms) Number of samples taken: 56 (once every 266ms) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [17] 100.0% [1] 14874(100.0%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [3] 100.0% ---------------------------------------------------------------------- ??? [17] 100.0% [2] 5592(37.6%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [4] 52.4% for-loop [5] 44.1% loop [23] 3.6% ---------------------------------------------------------------------- profile-thunk14 [1] 100.0% [3] 14874(100.0%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [17] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [4] 2928(19.7%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [6] 93.1% extract-alt [8] 6.9% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [5] 2464(16.6%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [7] 100.0% ---------------------------------------------------------------------- get-final-combination [4] 100.0% [6] 2726(18.3%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [9] 100.0% ---------------------------------------------------------------------- for-loop [5] 100.0% [7] 2464(16.6%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [10] 59.3% finalize-iter! [11] 24.4% localize-error [12] 16.3% ---------------------------------------------------------------------- get-final-combination [4] 100.0% [8] 202(1.4%) 0(0.0%) extract-alt ...e/ztatlock/herbie/src/glue.rkt:57:0 loop [38] 100.0% ---------------------------------------------------------------------- split-table [6] 100.0% [9] 2726(18.3%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [13] 100.0% ---------------------------------------------------------------------- run-iter! [7] 100.0% [10] 1462(9.8%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [14] 100.0% ---------------------------------------------------------------------- run-iter! [7] 100.0% [11] 600(4.0%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [15] 100.0% ---------------------------------------------------------------------- run-iter! [7] 100.0% [12] 402(2.7%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [16] 100.0% ---------------------------------------------------------------------- infer-splitpoints4 [9] 100.0% [13] 2726(18.3%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [18] 100.0% ---------------------------------------------------------------------- simplify! [10] 100.0% [14] 1462(9.8%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [17] 100.0% ---------------------------------------------------------------------- finalize-iter! [11] 100.0% [15] 600(4.0%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [20] 66.7% atab-add-altns [21] 33.3% ---------------------------------------------------------------------- ??? [44] 50.0% localize-error [12] 50.0% [16] 402(2.7%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 parse-loop12 [19] 75.1% f6 [22] 24.9% ---------------------------------------------------------------------- for-loop [14] 3.3% run [3] 48.4% [17] 14874(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 48.4% loop [23] 31.2% run-improve58 [2] 17.2% simplify [41] 3.3% ---------------------------------------------------------------------- option-on-expr [13] 100.0% [18] 2726(18.3%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [24] 100.0% ---------------------------------------------------------------------- hash-ref! [16] 100.0% [19] 402(2.7%) 0(0.0%) parse-loop12 ...s/racket/match/compiler.rkt:410:15 loop [38] 74.9% ??? [44] 25.1% ---------------------------------------------------------------------- ??? [15] 100.0% [20] 400(2.7%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [25] 100.0% ---------------------------------------------------------------------- ??? [15] 100.0% [21] 200(1.3%) 0(0.0%) atab-add-altns ...rbie/src/core/alt-table.rkt:50:0 atab-add-altn [25] 100.0% ---------------------------------------------------------------------- hash-ref! [16] 100.0% [22] 200(1.3%) 0(0.0%) f6 ...et/collects/racket/match/compiler.rkt:499:40 map [35] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 2.1% ??? [17] 97.9% [23] 9482(63.7%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [26] 55.7% make-exacts* [29] 42.2% loop [30] 2.1% ---------------------------------------------------------------------- sort-context-on-expr [18] 100.0% [24] 2726(18.3%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [27] 67.8% loop [31] 32.2% ---------------------------------------------------------------------- atab-add-altns [21] 33.3% for-loop [20] 66.7% [25] 600(4.0%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [28] 100.0% ---------------------------------------------------------------------- loop [23] 100.0% [26] 5284(35.5%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [30] 44.0% eval-prog [39] 28.4% make-exacts* [29] 27.6% ---------------------------------------------------------------------- sort [24] 49.7% copying-mergesort [27] 50.3% [27] 1848(12.4%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [27] 50.3% loop [31] 43.5% jloop [32] 6.2% ---------------------------------------------------------------------- atab-add-altn [25] 100.0% [28] 600(4.0%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [33] 66.7% for-loop [34] 33.3% ---------------------------------------------------------------------- loop [26] 26.7% loop [23] 73.3% [29] 5458(36.7%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [35] 51.0% loop [38] 49.0% ---------------------------------------------------------------------- loop [23] 7.9% loop [26] 92.1% [30] 2524(17.0%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [35] 100.0% ---------------------------------------------------------------------- sort [24] 38.7% copying-mergesort [27] 61.3% [31] 2268(15.2%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [36] 100.0% ---------------------------------------------------------------------- copying-mergesort [27] 100.0% [32] 458(3.1%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [36] 100.0% ---------------------------------------------------------------------- best-and-tied-at-points [28] 100.0% [33] 400(2.7%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 eval-prog [39] 50.0% for-loop [37] 50.0% ---------------------------------------------------------------------- best-and-tied-at-points [28] 100.0% [34] 200(1.3%) 200(1.3%) for-loop ...k/herbie/src/core/alt-table.rkt:124:16 ---------------------------------------------------------------------- f6 [22] 3.5% ??? [44] 3.5% loop [30] 44.2% make-exacts* [29] 48.8% [35] 5710(38.4%) 202(1.4%) map ...acket/collects/racket/private/map.rkt:21:13 loop [38] 93.0% ??? [40] 3.5% ---------------------------------------------------------------------- jloop [32] 16.8% loop [31] 83.2% [36] 2726(18.3%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [39] 100.0% ---------------------------------------------------------------------- errors [33] 100.0% [37] 200(1.3%) 200(1.3%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ---------------------------------------------------------------------- make-exacts* [29] 0.1% extract-alt [8] 2.4% parse-loop12 [19] 2.6% map [35] 3.5% loop [38] 91.4% [38] 8386(56.4%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [38] 91.4% ??? [40] 3.5% ??? [44] 2.6% simplify [41] 2.4% ??? [51] 0.1% ->flonum [42] 0.0% ---------------------------------------------------------------------- errors [33] 4.5% loop [26] 33.9% ??? [36] 61.6% [39] 4426(29.8%) 2466(16.6%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 inductor [73] 33.9% go [43] 10.4% ---------------------------------------------------------------------- map [35] 2.7% loop [38] 97.3% [40] 7278(48.9%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [45] 92.8% real->bigfloat [47] 7.2% ---------------------------------------------------------------------- loop [38] 12.1% ??? [17] 87.9% [41] 1664(11.2%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [46] 88.0% for-loop [50] 12.0% ---------------------------------------------------------------------- loop [38] 100.0% [42] 704(4.7%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [48] 35.2% ??? [70] 33.2% ??? [49] 31.5% ---------------------------------------------------------------------- eval-prog [39] 100.0% [43] 460(3.1%) 460(3.1%) go .../collects/racket/private/qq-and-or.rkt:50:20 ---------------------------------------------------------------------- parse-loop12 [19] 25.1% loop [38] 74.9% [44] 402(2.7%) 0(0.0%) ??? ...ket/collects/racket/private/list.rkt:323:18 hash-ref! [16] 74.9% map [35] 25.1% ---------------------------------------------------------------------- ??? [40] 100.0% [45] 6756(45.4%) 0(0.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [51] 62.9% ...higher-order.rkt:373:33 [52] 22.9% bffma [54] 7.4% ...ow-val-first.rkt:357:18 [57] 6.8% ---------------------------------------------------------------------- simplify [41] 100.0% [46] 1464(9.8%) 198(1.3%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [53] 86.5% ---------------------------------------------------------------------- ??? [40] 100.0% [47] 522(3.5%) 522(3.5%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ---------------------------------------------------------------------- ->flonum [42] 100.0% [48] 248(1.7%) 248(1.7%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ---------------------------------------------------------------------- ->flonum [42] 100.0% [49] 222(1.5%) 222(1.5%) ??? ...-racket/utils/simple-result-arrow.rkt:47:15 ---------------------------------------------------------------------- simplify [41] 100.0% [50] 200(1.3%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 loop [55] 100.0% ---------------------------------------------------------------------- loop [38] 4.5% ??? [45] 95.5% [51] 4450(29.9%) 2034(13.7%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfadd [56] 48.9% ??? [70] 5.4% ---------------------------------------------------------------------- ??? [45] 100.0% [52] 1546(10.4%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [66] 56.3% ??? [61] 43.7% ---------------------------------------------------------------------- simplify-expr [46] 100.0% [53] 1266(8.5%) 332(2.2%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [58] 57.8% map-enodes [59] 16.0% ---------------------------------------------------------------------- ??? [45] 100.0% [54] 500(3.4%) 0(0.0%) bffma ...atlock/herbie/src/syntax/syntax.rkt:122:0 ...ow-val-first.rkt:357:18 [57]100.0% ---------------------------------------------------------------------- for-loop [50] 100.0% [55] 200(1.3%) 0(0.0%) loop ...tatlock/herbie/src/core/simplify.rkt:203:2 pass [60] 100.0% ---------------------------------------------------------------------- ??? [51] 100.0% [56] 2174(14.6%) 1186(8.0%) bfadd ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [62] 45.4% ---------------------------------------------------------------------- ??? [45] 47.9% bffma [54] 52.1% [57] 960(6.5%) 0(0.0%) ...ow-val-first.rkt:357:18 (unknown source) ??? [61] 100.0% ---------------------------------------------------------------------- iterate-egraph!5 [53] 100.0% [58] 732(4.9%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [63] 100.0% ---------------------------------------------------------------------- iterate-egraph!5 [53] 100.0% [59] 202(1.4%) 0(0.0%) map-enodes ...ock/herbie/src/core/egraph.rkt:139:0 for-loop [64] 100.0% ---------------------------------------------------------------------- loop [55] 100.0% [60] 200(1.3%) 0(0.0%) pass ...tatlock/herbie/src/core/simplify.rkt:193:2 for-loop [65] 100.0% ---------------------------------------------------------------------- ...higher-order.rkt:373:33 [52] 41.3% ...ow-val-first.rkt:357:18 [57] 58.7% [61] 1636(11.0%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [66] 100.0% ---------------------------------------------------------------------- bfadd [56] 100.0% [62] 988(6.6%) 988(6.6%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- for-loop [63] 50.0% one-iter [58] 50.0% [63] 732(4.9%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [63] 50.0% match-e [67] 50.0% ---------------------------------------------------------------------- map-enodes [59] 100.0% [64] 202(1.4%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:161:2 eval-const-expr [68] 100.0% ---------------------------------------------------------------------- pass [60] 100.0% [65] 200(1.3%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:196:29 argmin [69] 100.0% ---------------------------------------------------------------------- ...higher-order.rkt:373:33 [52] 34.7% ??? [61] 65.3% [66] 2506(16.8%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [70] 100.0% ---------------------------------------------------------------------- for-loop [63] 100.0% [67] 732(4.9%) 400(2.7%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 constant? [71] 45.4% ---------------------------------------------------------------------- for-loop [64] 100.0% [68] 202(1.4%) 0(0.0%) eval-const-expr ...k/herbie/src/programs.rkt:180:0 expression-induct31 [72] 100.0% ---------------------------------------------------------------------- for-loop [65] 100.0% [69] 200(1.3%) 200(1.3%) argmin ...re/racket/collects/racket/list.rkt:743:0 ---------------------------------------------------------------------- ->flonum [42] 7.8% ??? [51] 8.1% ??? [66] 84.0% [70] 2982(20.0%) 1580(10.6%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [74] 47.0% ---------------------------------------------------------------------- match-e [67] 100.0% [71] 332(2.2%) 332(2.2%) constant? ...ck/herbie/src/syntax/syntax.rkt:221:0 ---------------------------------------------------------------------- eval-const-expr [68] 100.0% [72] 202(1.4%) 0(0.0%) expression-induct31 ...erbie/src/programs.rkt:55:0 inductor [73] 100.0% ---------------------------------------------------------------------- expression-induct31 [72] 5.9% eval-prog [39] 29.4% inductor [73] 64.7% [73] 1702(11.4%) 0(0.0%) inductor .../ztatlock/herbie/src/programs.rkt:73:2 inductor [73] 64.7% integer->bigfloat [75] 35.3% ---------------------------------------------------------------------- ??? [70] 100.0% [74] 1402(9.4%) 700(4.7%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [76] 50.1% ---------------------------------------------------------------------- inductor [73] 100.0% [75] 1702(11.4%) 1702(11.4%) integer->bigfloat ...ivate/bigfloat/mpfr.rkt:399:0 ---------------------------------------------------------------------- ??? [74] 100.0% [76] 702(4.7%) 702(4.7%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ----------------------------------------------------------------------