Profiling results ----------------- Total cpu time observed: 21796ms (out of 22280ms) Number of samples taken: 91 (once every 240ms) ======================================================================= Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ======================================================================= ??? [28] 100.0% [1] 21796(100.0%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [7] 100.0% ----------------------------------------------------------------------- ??? [28] 100.0% [2] 4348(19.9%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 for-loop [8] 56.9% get-final-combination [9] 43.1% ----------------------------------------------------------------------- ??? [28] 100.0% [3] 1224(5.6%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 iterate-egraph!5 [16] 50.8% simplify-expr [11] 32.7% for-loop [12] 16.5% ----------------------------------------------------------------------- location-do [46] 100.0% [4] 656(3.0%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [10] 100.0% ----------------------------------------------------------------------- copying-mergesort [45] 100.0% [5] 620(2.8%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [56] 100.0% ----------------------------------------------------------------------- hash-ref! [58] 100.0% [6] 198(0.9%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:338:33 for-loop [13] 100.0% ----------------------------------------------------------------------- profile-thunk14 [1] 100.0% [7] 21796(100.0%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [28] 100.0% ----------------------------------------------------------------------- run-improve58 [2] 100.0% [8] 2474(11.4%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [14] 100.0% ----------------------------------------------------------------------- run-improve58 [2] 100.0% [9] 1874(8.6%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [15] 100.0% ----------------------------------------------------------------------- approximate9 [4] 100.0% [10] 656(3.0%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [58] 100.0% ----------------------------------------------------------------------- simplify [3] 100.0% [11] 400(1.8%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [16] 100.0% ----------------------------------------------------------------------- simplify [3] 100.0% [12] 202(0.9%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [16] 100.0% ----------------------------------------------------------------------- ??? [6] 100.0% [13] 198(0.9%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:341:46 hash-ref! [58] 100.0% ----------------------------------------------------------------------- for-loop [8] 100.0% [14] 2474(11.4%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [18] 49.5% gen-series! [20] 26.5% localize-error [39] 15.9% finalize-iter! [21] 8.1% ----------------------------------------------------------------------- get-final-combination [9] 100.0% [15] 1874(8.6%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [17] 88.9% ??? [26] 11.1% ----------------------------------------------------------------------- for-loop [12] 16.5% simplify-expr [11] 32.7% simplify [3] 50.8% [16] 1224(5.6%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [19] 100.0% ----------------------------------------------------------------------- split-table [15] 100.0% [17] 1666(7.6%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [22] 87.9% exprs-to-branch-on [27] 12.1% ----------------------------------------------------------------------- run-iter! [14] 100.0% [18] 1224(5.6%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [23] 100.0% ----------------------------------------------------------------------- iterate-egraph!5 [16] 100.0% [19] 1224(5.6%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [24] 100.0% ----------------------------------------------------------------------- run-iter! [14] 100.0% [20] 656(3.0%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [25] 100.0% ----------------------------------------------------------------------- run-iter! [14] 100.0% [21] 200(0.9%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [26] 100.0% ----------------------------------------------------------------------- infer-splitpoints4 [17] 100.0% [22] 1464(6.7%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [29] 85.5% err-lsts->split-indices [32] 14.5% ----------------------------------------------------------------------- simplify! [18] 100.0% [23] 1224(5.6%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [28] 100.0% ----------------------------------------------------------------------- for-loop [24] 50.0% one-iter [19] 50.0% [24] 1224(5.6%) 400(1.8%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [24] 50.0% match-e [30] 33.7% ----------------------------------------------------------------------- gen-series! [20] 100.0% [25] 656(3.0%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [31] 100.0% ----------------------------------------------------------------------- finalize-iter! [21] 49.0% split-table [15] 51.0% [26] 408(1.9%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 split-atab [33] 51.0% for-loop [35] 49.0% ----------------------------------------------------------------------- infer-splitpoints4 [17] 100.0% [27] 202(0.9%) 0(0.0%) exprs-to-branch-on ...ie/src/core/regimes.rkt:41:0 critical-subexpression [34] 100.0% ----------------------------------------------------------------------- for-loop [23] 1.9% run [7] 49.1% [28] 21796(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 49.1% loop [36] 40.0% run-improve58 [2] 9.0% simplify [3] 1.9% ----------------------------------------------------------------------- option-on-expr [22] 100.0% [29] 1252(5.7%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [37] 100.0% ----------------------------------------------------------------------- for-loop [40] 13.3% for-loop [24] 86.7% [30] 824(3.8%) 824(3.8%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [40] 13.3% ----------------------------------------------------------------------- for-loop [25] 100.0% [31] 656(3.0%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [38] 100.0% ----------------------------------------------------------------------- option-on-expr [22] 100.0% [32] 212(1.0%) 0(0.0%) err-lsts->split-indices .../core/regimes.rkt:224:0 add-splitpoint [41] 100.0% ----------------------------------------------------------------------- ??? [26] 100.0% [33] 208(1.0%) 0(0.0%) split-atab ...k/herbie/src/core/alt-table.rkt:74:0 for-loop [42] 100.0% ----------------------------------------------------------------------- exprs-to-branch-on [27] 100.0% [34] 202(0.9%) 0(0.0%) critical-subexpression ...rc/core/regimes.rkt:49:0 localize-error [39] 100.0% ----------------------------------------------------------------------- ??? [26] 100.0% [35] 200(0.9%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [43] 100.0% ----------------------------------------------------------------------- ??? [28] 100.0% [36] 17448(80.1%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [50] 57.5% loop [44] 42.5% ----------------------------------------------------------------------- sort-context-on-expr [29] 100.0% [37] 1252(5.7%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [45] 66.6% loop [52] 33.4% ----------------------------------------------------------------------- taylor-alt [31] 100.0% [38] 656(3.0%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [46] 100.0% ----------------------------------------------------------------------- critical-subexpression [34] 33.9% run-iter! [14] 66.1% [39] 596(2.7%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [58] 100.0% ----------------------------------------------------------------------- match-e [30] 100.0% [40] 220(1.0%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [30] 100.0% ----------------------------------------------------------------------- err-lsts->split-indices [32] 100.0% [41] 212(1.0%) 0(0.0%) add-splitpoint ...erbie/src/core/regimes.rkt:237:2 for-loop [47] 100.0% ----------------------------------------------------------------------- split-atab [33] 100.0% [42] 208(1.0%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:75:2 for-loop [48] 100.0% ----------------------------------------------------------------------- for-loop [35] 100.0% [43] 200(0.9%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [49] 100.0% ----------------------------------------------------------------------- loop [36] 100.0% [44] 7420(34.0%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [51] 61.8% make-exacts* [50] 29.7% eval-prog [57] 8.5% ----------------------------------------------------------------------- sort [37] 44.2% copying-mergesort [45] 55.8% [45] 834(3.8%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [45] 55.8% loop [52] 25.7% jloop [5] 18.6% ----------------------------------------------------------------------- for-loop [38] 21.5% location-do [46] 78.5% [46] 656(3.0%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 location-do [46] 78.5% approximate9 [4] 21.5% ----------------------------------------------------------------------- add-splitpoint [41] 100.0% [47] 212(1.0%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:239:4 for-loop [53] 100.0% ----------------------------------------------------------------------- for-loop [42] 100.0% [48] 208(1.0%) 0(0.0%) for-loop ...ck/herbie/src/core/alt-table.rkt:76:45 ??? [54] 100.0% ----------------------------------------------------------------------- atab-add-altn [43] 100.0% [49] 200(0.9%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 for-loop [55] 100.0% ----------------------------------------------------------------------- loop [44] 18.0% loop [36] 82.0% [50] 12230(56.1%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [68] 51.0% loop [73] 47.0% eval-prog [57] 2.0% ----------------------------------------------------------------------- loop [44] 100.0% [51] 4586(21.0%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [68] 100.0% ----------------------------------------------------------------------- copying-mergesort [45] 33.9% sort [37] 66.1% [52] 632(2.9%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [56] 100.0% ----------------------------------------------------------------------- for-loop [47] 100.0% [53] 212(1.0%) 212(1.0%) for-loop ...lock/herbie/src/core/regimes.rkt:243:8 ----------------------------------------------------------------------- for-loop [48] 100.0% [54] 208(1.0%) 0(0.0%) ??? .../ztatlock/herbie/src/core/regimes.rkt:291:8 eval-prog [57] 100.0% ----------------------------------------------------------------------- best-and-tied-at-points [49] 100.0% [55] 200(0.9%) 200(0.9%) for-loop ...k/herbie/src/core/alt-table.rkt:124:16 ----------------------------------------------------------------------- jloop [5] 49.5% loop [52] 50.5% [56] 1252(5.7%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [57] 100.0% ----------------------------------------------------------------------- ??? [54] 8.9% make-exacts* [50] 10.7% loop [44] 27.0% ??? [56] 53.5% [57] 2342(10.7%) 1042(4.8%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [58] 37.7% ??? [59] 9.0% new-lambda [60] 8.9% ----------------------------------------------------------------------- for-loop [13] 3.1% eval-prog [57] 9.4% ??? [77] 11.5% ??? [63] 13.8% loop [10] 13.8% localize-error [39] 16.4% loop [73] 31.9% [58] 2134(9.8%) 202(0.9%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [61] 31.9% parse-loop12 [69] 18.7% ??? [63] 13.8% simplify [64] 13.8% f6 [65] 9.2% bigfloat-hash [62] 8.1% ??? [6] 3.1% ----------------------------------------------------------------------- eval-prog [57] 100.0% [59] 210(1.0%) 0(0.0%) ??? ...collects/racket/private/qq-and-or.rkt:155:9 ??? [66] 100.0% ----------------------------------------------------------------------- eval-prog [57] 100.0% [60] 208(1.0%) 0(0.0%) new-lambda ...ollects/racket/private/kw.rkt:631:11 loop [67] 100.0% ----------------------------------------------------------------------- hash-ref! [58] 100.0% [61] 882(4.0%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [73] 100.0% ----------------------------------------------------------------------- hash-ref! [58] 100.0% [62] 680(3.1%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 sig+exp->bigfloat [70] 63.2% bfcanonicalize [71] 36.8% ----------------------------------------------------------------------- hash-ref! [58] 100.0% [63] 656(3.0%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [58] 100.0% ----------------------------------------------------------------------- hash-ref! [58] 100.0% [64] 656(3.0%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 parse-loop12 [69] 100.0% ----------------------------------------------------------------------- parse-loop12 [69] 37.9% hash-ref! [58] 62.1% [65] 634(2.9%) 0(0.0%) f6 ...et/collects/racket/match/compiler.rkt:499:40 map [68] 62.1% gather-multiplicative-terms [72] 37.9% ----------------------------------------------------------------------- ??? [59] 100.0% [66] 210(1.0%) 210(1.0%) ??? ...ollects/racket/private/qq-and-or.rkt:164:21 ----------------------------------------------------------------------- new-lambda [60] 100.0% [67] 208(1.0%) 208(1.0%) loop .../collects/racket/private/stxcase.rkt:112:7 ----------------------------------------------------------------------- f6 [65] 3.5% loop [51] 40.9% make-exacts* [50] 55.6% [68] 11218(51.5%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [73] 94.2% ??? [76] 4.0% ??? [77] 0.9% loop [75] 0.9% ----------------------------------------------------------------------- parse-loop12 [69] 8.7% loop [73] 21.8% simplify [64] 21.8% hash-ref! [58] 47.6% [69] 1252(5.7%) 416(1.9%) parse-loop12 ...s/racket/match/compiler.rkt:410:15 loop [73] 69.4% f6 [65] 9.6% parse-loop12 [69] 8.7% ----------------------------------------------------------------------- bigfloat-hash [62] 100.0% [70] 430(2.0%) 430(2.0%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 ----------------------------------------------------------------------- bigfloat-hash [62] 100.0% [71] 250(1.1%) 250(1.1%) bfcanonicalize .../private/bigfloat/mpfr.rkt:155:0 ----------------------------------------------------------------------- f6 [65] 100.0% [72] 240(1.1%) 0(0.0%) gather-multiplicative-terms ...re/reduce.rkt:107:0 compose [74] 100.0% ----------------------------------------------------------------------- make-exacts* [50] 0.1% map [68] 2.5% parse-loop12 [69] 2.6% ??? [61] 4.2% loop [73] 90.7% [73] 18250(83.7%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [73] 90.7% hash-ref! [58] 4.2% ??? [76] 2.3% parse-loop12 [69] 1.4% ??? [77] 1.2% ??? [82] 0.2% ->flonum [81] 0.1% ----------------------------------------------------------------------- gather-multiplicative-terms [72]100.0% [74] 240(1.1%) 240(1.1%) compose ...collects/racket/private/list.rkt:385:12 ----------------------------------------------------------------------- map [68] 16.7% loop [75] 83.3% [75] 196(0.9%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:37:19 loop [75] 83.3% ??? [78] 16.7% ----------------------------------------------------------------------- map [68] 2.8% loop [73] 97.2% [76] 16126(74.0%) 298(1.4%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [79] 90.5% real->bigfloat [80] 6.0% ??? [90] 1.7% ----------------------------------------------------------------------- map [68] 16.6% loop [73] 83.4% [77] 394(1.8%) 0(0.0%) ??? ...ket/collects/racket/private/list.rkt:323:18 hash-ref! [58] 100.0% ----------------------------------------------------------------------- loop [75] 100.0% [78] 196(0.9%) 0(0.0%) ??? ...ztatlock/herbie/src/core/localize.rkt:43:32 ->flonum [81] 100.0% ----------------------------------------------------------------------- ??? [76] 100.0% [79] 14592(66.9%) 0(0.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [82] 93.7% ...higher-order.rkt:373:33 [83] 6.3% ----------------------------------------------------------------------- ??? [76] 100.0% [80] 968(4.4%) 722(3.3%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [89] 25.4% ----------------------------------------------------------------------- ??? [78] 30.8% loop [73] 69.2% [81] 636(2.9%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [84] 69.2% ??? [85] 30.8% ----------------------------------------------------------------------- loop [73] 2.8% ??? [79] 97.2% [82] 14074(64.6%) 6326(29.0%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfsub [86] 29.2% bftan [87] 18.0% ??? [91] 7.8% ----------------------------------------------------------------------- ??? [79] 100.0% [83] 918(4.2%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [88] 50.5% ??? [90] 49.5% ----------------------------------------------------------------------- ->flonum [81] 100.0% [84] 440(2.0%) 198(0.9%) ??? ...-racket/utils/simple-result-arrow.rkt:47:15 ??? [89] 55.0% ----------------------------------------------------------------------- ->flonum [81] 100.0% [85] 196(0.9%) 196(0.9%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ----------------------------------------------------------------------- ??? [82] 100.0% [86] 4114(18.9%) 2992(13.7%) bfsub ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [89] 27.3% ----------------------------------------------------------------------- ??? [82] 100.0% [87] 2538(11.6%) 1650(7.6%) bftan ...-lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [89] 35.0% ----------------------------------------------------------------------- ...higher-order.rkt:373:33 [83] 100.0% [88] 464(2.1%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [90] 100.0% ----------------------------------------------------------------------- ??? [84] 9.7% real->bigfloat [80] 9.8% bftan [87] 35.5% bfsub [86] 44.9% [89] 2498(11.5%) 2498(11.5%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ----------------------------------------------------------------------- ??? [76] 22.6% ...higher-order.rkt:373:33 [83] 38.3% ??? [88] 39.1% [90] 1186(5.4%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [91] 100.0% ----------------------------------------------------------------------- ??? [82] 48.0% ??? [90] 52.0% [91] 2282(10.5%) 1340(6.1%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [92] 41.3% ----------------------------------------------------------------------- ??? [91] 100.0% [92] 942(4.3%) 500(2.3%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [93] 46.9% ----------------------------------------------------------------------- ??? [92] 100.0% [93] 442(2.0%) 442(2.0%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 -----------------------------------------------------------------------