Profiling results ----------------- Total cpu time observed: 22054ms (out of 22484ms) Number of samples taken: 95 (once every 232ms) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [34] 100.0% [1] 22054(100.0%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [7] 100.0% ---------------------------------------------------------------------- ??? [34] 100.0% [2] 10414(47.2%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [8] 59.8% for-loop [9] 40.2% ---------------------------------------------------------------------- ??? [34] 100.0% [3] 2746(12.5%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [10] 48.4% iterate-egraph!5 [16] 44.3% for-loop [13] 7.4% ---------------------------------------------------------------------- copying-mergesort [52] 100.0% [4] 2332(10.6%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [63] 100.0% ---------------------------------------------------------------------- match-e [45] 100.0% [5] 596(2.7%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 for-loop [11] 100.0% ---------------------------------------------------------------------- hash-ref! [70] 100.0% [6] 224(1.0%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:338:33 for-loop [12] 100.0% ---------------------------------------------------------------------- profile-thunk14 [1] 100.0% [7] 22054(100.0%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [34] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [8] 6230(28.2%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [14] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [9] 4184(19.0%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [15] 100.0% ---------------------------------------------------------------------- simplify [3] 100.0% [10] 1328(6.0%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [16] 83.3% loop [17] 16.7% ---------------------------------------------------------------------- for-loop [5] 100.0% [11] 596(2.7%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [45] 100.0% ---------------------------------------------------------------------- ??? [6] 100.0% [12] 224(1.0%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:341:46 hash-ref! [70] 100.0% ---------------------------------------------------------------------- simplify [3] 100.0% [13] 202(0.9%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [16] 100.0% ---------------------------------------------------------------------- get-final-combination [8] 100.0% [14] 6230(28.2%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [18] 100.0% ---------------------------------------------------------------------- for-loop [9] 100.0% [15] 4184(19.0%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [19] 65.6% finalize-iter! [21] 24.0% gen-series! [22] 5.4% choose-best-alt! [24] 5.0% ---------------------------------------------------------------------- for-loop [13] 8.0% simplify-expr [10] 43.8% simplify [3] 48.2% [16] 2524(11.4%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [20] 92.1% map-enodes [25] 7.9% ---------------------------------------------------------------------- simplify-expr [10] 100.0% [17] 222(1.0%) 0(0.0%) loop ...tatlock/herbie/src/core/simplify.rkt:203:2 pass [23] 100.0% ---------------------------------------------------------------------- split-table [14] 100.0% [18] 6230(28.2%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [26] 93.9% debug-print [30] 6.1% ---------------------------------------------------------------------- run-iter! [15] 100.0% [19] 2746(12.5%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [27] 100.0% ---------------------------------------------------------------------- iterate-egraph!5 [16] 100.0% [20] 2324(10.5%) 202(0.9%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [28] 82.8% loop [33] 8.5% ---------------------------------------------------------------------- run-iter! [15] 100.0% [21] 1006(4.6%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [29] 100.0% ---------------------------------------------------------------------- run-iter! [15] 100.0% [22] 224(1.0%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [31] 100.0% ---------------------------------------------------------------------- loop [17] 100.0% [23] 222(1.0%) 0(0.0%) pass ...tatlock/herbie/src/core/simplify.rkt:193:2 for-loop [32] 100.0% ---------------------------------------------------------------------- run-iter! [15] 100.0% [24] 208(0.9%) 0(0.0%) choose-best-alt! .../herbie/src/mainloop.rkt:120:0 ??? [29] 100.0% ---------------------------------------------------------------------- iterate-egraph!5 [16] 100.0% [25] 200(0.9%) 0(0.0%) map-enodes ...ock/herbie/src/core/egraph.rkt:139:0 loop [67] 100.0% ---------------------------------------------------------------------- infer-splitpoints4 [18] 100.0% [26] 5848(26.5%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [35] 84.7% pick-errors [37] 7.8% loop [67] 7.6% ---------------------------------------------------------------------- simplify! [19] 100.0% [27] 2746(12.5%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [34] 100.0% ---------------------------------------------------------------------- for-loop [28] 50.0% one-iter [20] 50.0% [28] 1924(8.7%) 884(4.0%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [28] 50.0% match-e [45] 27.0% ---------------------------------------------------------------------- choose-best-alt! [24] 17.1% finalize-iter! [21] 82.9% [29] 1214(5.5%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [36] 82.9% atab-pick-alt8 [41] 17.1% ---------------------------------------------------------------------- infer-splitpoints4 [18] 100.0% [30] 382(1.7%) 0(0.0%) debug-print ...ztatlock/herbie/src/debug.rkt:107:0 for-loop [38] 100.0% ---------------------------------------------------------------------- gen-series! [22] 100.0% [31] 224(1.0%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [39] 100.0% ---------------------------------------------------------------------- pass [23] 100.0% [32] 222(1.0%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:196:29 for-loop [40] 100.0% ---------------------------------------------------------------------- one-iter [20] 100.0% [33] 198(0.9%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [42] 100.0% ---------------------------------------------------------------------- for-loop [27] 4.2% run [7] 47.9% [34] 22054(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 47.9% loop [43] 26.4% run-improve58 [2] 21.5% simplify [3] 4.2% ---------------------------------------------------------------------- option-on-expr [26] 100.0% [35] 4952(22.5%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [44] 100.0% ---------------------------------------------------------------------- ??? [29] 100.0% [36] 1006(4.6%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [46] 100.0% ---------------------------------------------------------------------- option-on-expr [26] 100.0% [37] 454(2.1%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [47] 100.0% ---------------------------------------------------------------------- debug-print [30] 100.0% [38] 382(1.7%) 0(0.0%) for-loop /home/ztatlock/herbie/src/debug.rkt:113:2 write-proc [48] 100.0% ---------------------------------------------------------------------- for-loop [31] 100.0% [39] 224(1.0%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [49] 100.0% ---------------------------------------------------------------------- for-loop [32] 100.0% [40] 222(1.0%) 222(1.0%) for-loop ...ck/herbie/src/core/simplify.rkt:183:13 ---------------------------------------------------------------------- ??? [29] 100.0% [41] 208(0.9%) 0(0.0%) atab-pick-alt8 ...rbie/src/core/alt-table.rkt:54:0 ??? [50] 100.0% ---------------------------------------------------------------------- loop [33] 100.0% [42] 198(0.9%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 match-e [45] 100.0% ---------------------------------------------------------------------- ??? [34] 100.0% [43] 11640(52.8%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [51] 56.4% make-exacts* [56] 43.6% ---------------------------------------------------------------------- sort-context-on-expr [35] 100.0% [44] 4952(22.5%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [52] 71.4% loop [58] 28.6% ---------------------------------------------------------------------- apply-match [42] 8.0% for-loop [11] 24.1% for-loop [28] 67.9% [45] 1238(5.6%) 1238(5.6%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [5] 24.1% ---------------------------------------------------------------------- for-loop [36] 100.0% [46] 1006(4.6%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [53] 100.0% ---------------------------------------------------------------------- pick-errors [37] 100.0% [47] 454(2.1%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [68] 100.0% ---------------------------------------------------------------------- for-loop [38] 100.0% [48] 382(1.7%) 382(1.7%) write-proc ...lock/herbie/src/alternative.rkt:22:9 ---------------------------------------------------------------------- taylor-alt [39] 100.0% [49] 224(1.0%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [54] 100.0% ---------------------------------------------------------------------- atab-pick-alt8 [41] 100.0% [50] 208(0.9%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:369:33 best-alt [55] 100.0% ---------------------------------------------------------------------- loop [43] 100.0% [51] 6568(29.8%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [57] 63.4% make-exacts* [56] 36.6% ---------------------------------------------------------------------- sort [44] 38.0% copying-mergesort [52] 62.0% [52] 3536(16.0%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [52] 62.0% loop [58] 21.5% jloop [4] 16.5% ---------------------------------------------------------------------- atab-add-altn [46] 100.0% [53] 1006(4.6%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 for-loop [59] 58.1% errors [69] 41.9% ---------------------------------------------------------------------- for-loop [49] 100.0% [54] 224(1.0%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [60] 100.0% ---------------------------------------------------------------------- ??? [50] 100.0% [55] 208(0.9%) 0(0.0%) best-alt /home/ztatlock/herbie/src/glue.rkt:79:0 loop [61] 100.0% ---------------------------------------------------------------------- loop [51] 32.2% loop [43] 67.8% [56] 7478(33.9%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 loop [67] 52.7% map [62] 47.3% ---------------------------------------------------------------------- loop [51] 100.0% [57] 4162(18.9%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [62] 100.0% ---------------------------------------------------------------------- copying-mergesort [52] 46.0% sort [44] 54.0% [58] 2620(11.9%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [63] 100.0% ---------------------------------------------------------------------- best-and-tied-at-points [53] 100.0% [59] 584(2.6%) 200(0.9%) for-loop ...k/herbie/src/core/alt-table.rkt:124:16 ??? [64] 65.8% ---------------------------------------------------------------------- location-do [54] 100.0% [60] 224(1.0%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [65] 100.0% ---------------------------------------------------------------------- best-alt [55] 100.0% [61] 208(0.9%) 0(0.0%) loop /home/ztatlock/herbie/src/common.rkt:86:2 composed [66] 100.0% ---------------------------------------------------------------------- make-exacts* [56] 46.0% loop [57] 54.0% [62] 7702(34.9%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [67] 100.0% ---------------------------------------------------------------------- jloop [4] 47.1% loop [58] 52.9% [63] 4952(22.5%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [68] 100.0% ---------------------------------------------------------------------- for-loop [59] 100.0% [64] 384(1.7%) 384(1.7%) ??? ...ket/collects/racket/private/for.rkt:1150:14 ---------------------------------------------------------------------- approximate9 [60] 100.0% [65] 224(1.0%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [70] 100.0% ---------------------------------------------------------------------- loop [61] 100.0% [66] 208(0.9%) 0(0.0%) composed ...ollects/racket/private/list.rkt:321:16 errors [69] 100.0% ---------------------------------------------------------------------- make-exacts* [56] 0.3% map-enodes [25] 0.3% option-on-expr [26] 2.7% map [62] 4.9% loop [67] 91.8% [67] 12282(55.7%) 194(0.9%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [67] 91.8% ??? [78] 5.2% errors [69] 2.7% for-loop [72] 0.3% ->flonum [73] 0.0% ---------------------------------------------------------------------- for-loop [47] 8.4% ??? [63] 91.6% [68] 5406(24.5%) 4966(22.5%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [70] 4.1% parse-app [71] 4.0% ---------------------------------------------------------------------- composed [66] 19.4% best-and-tied-at-points [53] 39.4% loop [67] 41.2% [69] 1072(4.9%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [74] 100.0% ---------------------------------------------------------------------- for-loop [12] 16.7% ??? [76] 16.7% loop [65] 16.7% eval-prog [68] 49.8% [70] 446(2.0%) 222(1.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [76] 16.7% ??? [6] 16.7% simplify [75] 16.7% ---------------------------------------------------------------------- eval-prog [68] 100.0% [71] 218(1.0%) 218(1.0%) parse-app .../collects/racket/private/kw.rkt:903:2 ---------------------------------------------------------------------- loop [67] 100.0% [72] 200(0.9%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:161:2 eval-const-expr [77] 100.0% ---------------------------------------------------------------------- loop [67] 100.0% [73] 196(0.9%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [91] 100.0% ---------------------------------------------------------------------- errors [69] 100.0% [74] 1072(4.9%) 442(2.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [78] 58.8% ---------------------------------------------------------------------- hash-ref! [70] 100.0% [75] 224(1.0%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 parse-loop50 [79] 100.0% ---------------------------------------------------------------------- hash-ref! [70] 100.0% [76] 224(1.0%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [70] 100.0% ---------------------------------------------------------------------- for-loop [72] 100.0% [77] 200(0.9%) 0(0.0%) eval-const-expr ...k/herbie/src/programs.rkt:180:0 expression-induct31 [80] 100.0% ---------------------------------------------------------------------- for-loop [74] 5.3% loop [67] 94.7% [78] 11880(53.9%) 786(3.6%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [81] 82.8% real->bigfloat [82] 6.5% ??? [89] 4.1% ---------------------------------------------------------------------- parse-loop50 [79] 50.0% simplify [75] 50.0% [79] 224(1.0%) 224(1.0%) parse-loop50 ...s/racket/match/compiler.rkt:410:15 parse-loop50 [79] 50.0% ---------------------------------------------------------------------- eval-const-expr [77] 100.0% [80] 200(0.9%) 0(0.0%) expression-induct31 ...erbie/src/programs.rkt:55:0 inductor [83] 100.0% ---------------------------------------------------------------------- ??? [78] 100.0% [81] 9840(44.6%) 630(2.9%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [88] 74.8% bf* [86] 14.1% bfcube [84] 2.4% ...higher-order.rkt:373:33 [85] 2.3% ---------------------------------------------------------------------- ??? [78] 100.0% [82] 772(3.5%) 310(1.4%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [93] 59.8% ---------------------------------------------------------------------- inductor [83] 50.0% expression-induct31 [80] 50.0% [83] 200(0.9%) 0(0.0%) inductor .../ztatlock/herbie/src/programs.rkt:73:2 inductor [83] 50.0% ??? [89] 50.0% ---------------------------------------------------------------------- ??? [81] 100.0% [84] 240(1.1%) 0(0.0%) bfcube ...tlock/herbie/src/syntax/syntax.rkt:119:0 bf* [86] 100.0% ---------------------------------------------------------------------- ??? [81] 100.0% [85] 226(1.0%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [87] 100.0% ---------------------------------------------------------------------- bfcube [84] 14.8% ??? [81] 85.2% [86] 1626(7.4%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [88] 100.0% ---------------------------------------------------------------------- ...higher-order.rkt:373:33 [85]100.0% [87] 226(1.0%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [89] 100.0% ---------------------------------------------------------------------- bf* [86] 18.1% ??? [81] 81.9% [88] 8984(40.7%) 3700(16.8%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfdiv [90] 27.2% bfcbrt [92] 19.5% ??? [91] 12.1% ---------------------------------------------------------------------- inductor [83] 22.0% ??? [87] 24.9% ??? [78] 53.1% [89] 908(4.1%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [91] 100.0% ---------------------------------------------------------------------- ??? [88] 100.0% [90] 2444(11.1%) 1722(7.8%) bfdiv ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [93] 29.5% ---------------------------------------------------------------------- ->flonum [73] 8.9% ??? [89] 41.5% ??? [88] 49.6% [91] 2190(9.9%) 906(4.1%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [94] 58.6% ---------------------------------------------------------------------- ??? [88] 100.0% [92] 1754(8.0%) 1280(5.8%) bfcbrt ...lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [93] 27.0% ---------------------------------------------------------------------- real->bigfloat [82] 27.9% bfcbrt [92] 28.6% bfdiv [90] 43.5% [93] 1658(7.5%) 1658(7.5%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- ??? [91] 100.0% [94] 1284(5.8%) 874(4.0%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [95] 31.9% ---------------------------------------------------------------------- ??? [94] 100.0% [95] 410(1.9%) 410(1.9%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ----------------------------------------------------------------------