Profiling results ----------------- Total cpu time observed: 18648ms (out of 19040ms) Number of samples taken: 76 (once every 245ms) ======================================================================= Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ======================================================================= ??? [25] 100.0% [1] 18446(98.9%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [6] 100.0% ----------------------------------------------------------------------- ??? [25] 100.0% [2] 3862(20.7%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 for-loop [8] 43.2% get-final-combination [9] 43.0% loop [7] 13.7% ----------------------------------------------------------------------- copying-mergesort [38] 100.0% [3] 622(3.3%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [52] 100.0% ----------------------------------------------------------------------- hash-ref! [66] 100.0% [4] 222(1.2%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:295:23 for-loop [10] 100.0% ----------------------------------------------------------------------- f143 [81] 100.0% [5] 212(1.1%) 0(0.0%) taylor-sqrt ...ck/herbie/src/core/taylor.rkt:346:0 simplify [72] 100.0% ----------------------------------------------------------------------- profile-thunk14 [1] 100.0% [6] 18446(98.9%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [25] 100.0% ----------------------------------------------------------------------- run-improve58 [2] 3.5% ??? [25] 96.5% [7] 15316(82.1%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [11] 44.3% make-exacts* [14] 40.5% loop [15] 15.3% ----------------------------------------------------------------------- run-improve58 [2] 100.0% [8] 1670(9.0%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [12] 100.0% ----------------------------------------------------------------------- run-improve58 [2] 100.0% [9] 1662(8.9%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [13] 100.0% ----------------------------------------------------------------------- ??? [4] 100.0% [10] 222(1.2%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:298:27 hash-ref! [66] 100.0% ----------------------------------------------------------------------- loop [7] 100.0% [11] 6778(36.3%) 214(1.1%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [15] 49.2% make-exacts* [14] 44.7% eval-prog [59] 3.0% ----------------------------------------------------------------------- for-loop [8] 100.0% [12] 1670(9.0%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [17] 61.9% gen-series! [18] 26.0% finalize-iter! [19] 12.1% ----------------------------------------------------------------------- get-final-combination [9] 100.0% [13] 1662(8.9%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [16] 100.0% ----------------------------------------------------------------------- loop [11] 32.8% loop [7] 67.2% [14] 9230(49.5%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [20] 54.8% loop [26] 39.9% eval-prog [59] 5.3% ----------------------------------------------------------------------- loop [7] 41.2% loop [11] 58.8% [15] 5672(30.4%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [20] 100.0% ----------------------------------------------------------------------- split-table [13] 100.0% [16] 1662(8.9%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [21] 100.0% ----------------------------------------------------------------------- run-iter! [12] 100.0% [17] 1034(5.5%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [22] 100.0% ----------------------------------------------------------------------- run-iter! [12] 100.0% [18] 434(2.3%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [23] 100.0% ----------------------------------------------------------------------- run-iter! [12] 100.0% [19] 202(1.1%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [24] 100.0% ----------------------------------------------------------------------- make-exacts* [14] 47.1% loop [15] 52.9% [20] 10730(57.5%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [26] 97.7% ??? [30] 2.3% ----------------------------------------------------------------------- infer-splitpoints4 [16] 100.0% [21] 1662(8.9%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [27] 86.9% loop [26] 13.1% ----------------------------------------------------------------------- simplify! [17] 100.0% [22] 1034(5.5%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [25] 100.0% ----------------------------------------------------------------------- gen-series! [18] 100.0% [23] 434(2.3%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [28] 100.0% ----------------------------------------------------------------------- finalize-iter! [19] 100.0% [24] 202(1.1%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [29] 100.0% ----------------------------------------------------------------------- for-loop [22] 1.8% run [6] 48.5% [25] 18648(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 48.5% loop [7] 39.6% run-improve58 [2] 10.0% simplify [33] 1.8% ----------------------------------------------------------------------- option-on-expr [21] 1.5% map [20] 1.9% make-exacts* [14] 2.4% loop [26] 94.2% [26] 14386(77.1%) 266(1.4%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [26] 94.2% ??? [30] 4.2% errors [50] 1.5% ->flonum [32] 0.1% ----------------------------------------------------------------------- option-on-expr [21] 100.0% [27] 1444(7.7%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [31] 100.0% ----------------------------------------------------------------------- for-loop [23] 100.0% [28] 434(2.3%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [34] 100.0% ----------------------------------------------------------------------- ??? [24] 100.0% [29] 202(1.1%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [35] 100.0% ----------------------------------------------------------------------- map [20] 1.9% loop [26] 98.1% [30] 12986(69.6%) 226(1.2%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [36] 64.2% real->bigfloat [37] 30.7% ...e/case-arrow.rkt:150:50 [42] 1.8% ??? [60] 1.6% ----------------------------------------------------------------------- sort-context-on-expr [27] 100.0% [31] 1444(7.7%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [38] 84.8% loop [47] 15.2% ----------------------------------------------------------------------- loop [26] 100.0% [32] 1158(6.2%) 222(1.2%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [63] 60.3% ??? [41] 20.6% ----------------------------------------------------------------------- ??? [25] 100.0% [33] 1034(5.5%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [39] 78.5% for-loop [43] 21.5% ----------------------------------------------------------------------- taylor-alt [28] 100.0% [34] 434(2.3%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [40] 100.0% ----------------------------------------------------------------------- for-loop [29] 100.0% [35] 202(1.1%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [44] 100.0% ----------------------------------------------------------------------- ??? [30] 100.0% [36] 8338(44.7%) 448(2.4%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [51] 53.4% bf* [45] 31.5% ...higher-order.rkt:373:33 [48] 9.7% ----------------------------------------------------------------------- ??? [30] 100.0% [37] 3984(21.4%) 2976(16.0%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [64] 25.3% ----------------------------------------------------------------------- sort [31] 42.7% copying-mergesort [38] 57.3% [38] 1224(6.6%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [38] 57.3% loop [47] 30.0% jloop [3] 12.7% ----------------------------------------------------------------------- simplify [33] 100.0% [39] 812(4.4%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [46] 100.0% ----------------------------------------------------------------------- location-do [40] 34.1% for-loop [34] 65.9% [40] 434(2.3%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [49] 65.9% location-do [40] 34.1% ----------------------------------------------------------------------- ->flonum [32] 100.0% [41] 238(1.3%) 238(1.3%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ----------------------------------------------------------------------- ??? [30] 100.0% [42] 228(1.2%) 228(1.2%) ...e/case-arrow.rkt:150:50 (unknown source) ----------------------------------------------------------------------- simplify [33] 100.0% [43] 222(1.2%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [46] 100.0% ----------------------------------------------------------------------- atab-add-altn [35] 100.0% [44] 202(1.1%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [50] 100.0% ----------------------------------------------------------------------- ??? [36] 100.0% [45] 2626(14.1%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [51] 100.0% ----------------------------------------------------------------------- for-loop [43] 21.5% simplify-expr [39] 78.5% [46] 1034(5.5%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [53] 100.0% ----------------------------------------------------------------------- sort [31] 26.8% copying-mergesort [38] 73.2% [47] 822(4.4%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [52] 100.0% ----------------------------------------------------------------------- ??? [36] 100.0% [48] 810(4.3%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [54] 100.0% ----------------------------------------------------------------------- location-do [40] 100.0% [49] 434(2.3%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [55] 51.2% f143 [81] 48.8% ----------------------------------------------------------------------- best-and-tied-at-points [44] 48.1% loop [26] 51.9% [50] 420(2.3%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 eval-prog [59] 51.9% for-loop [56] 48.1% ----------------------------------------------------------------------- bf* [45] 37.1% ??? [36] 62.9% [51] 7080(38.0%) 610(3.3%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfsqrt [57] 31.2% bfsub [58] 31.1% ??? [63] 29.1% ----------------------------------------------------------------------- jloop [3] 43.1% loop [47] 56.9% [52] 1444(7.7%) 420(2.3%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [59] 70.9% ----------------------------------------------------------------------- iterate-egraph!5 [46] 100.0% [53] 1034(5.5%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [61] 80.9% loop [62] 19.1% ----------------------------------------------------------------------- ...higher-order.rkt:373:33 [48] 100.0% [54] 810(4.3%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [60] 100.0% ----------------------------------------------------------------------- approximate9 [49] 100.0% [55] 222(1.2%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [66] 100.0% ----------------------------------------------------------------------- errors [50] 100.0% [56] 202(1.1%) 202(1.1%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ----------------------------------------------------------------------- ??? [51] 100.0% [57] 2208(11.8%) 1462(7.8%) bfsqrt ...lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [64] 33.8% ----------------------------------------------------------------------- ??? [51] 100.0% [58] 2202(11.8%) 1680(9.0%) bfsub ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [64] 23.7% ----------------------------------------------------------------------- loop [11] 10.3% errors [50] 11.3% make-exacts* [14] 25.4% ??? [52] 52.9% [59] 1934(10.4%) 1024(5.5%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [66] 22.8% inductor [67] 13.0% parse-lambda [68] 11.3% ----------------------------------------------------------------------- ??? [30] 20.6% ??? [54] 79.4% [60] 1020(5.5%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [63] 100.0% ----------------------------------------------------------------------- for-loop [61] 50.0% one-iter [53] 50.0% [61] 836(4.5%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [61] 50.0% match-e [65] 50.0% ----------------------------------------------------------------------- one-iter [53] 100.0% [62] 198(1.1%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [69] 100.0% ----------------------------------------------------------------------- ->flonum [32] 18.5% ??? [60] 27.0% ??? [51] 54.5% [63] 3778(20.3%) 2402(12.9%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [70] 36.4% ----------------------------------------------------------------------- bfsub [58] 22.9% bfsqrt [57] 32.8% real->bigfloat [37] 44.3% [64] 2276(12.2%) 2276(12.2%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ----------------------------------------------------------------------- for-loop [61] 100.0% [65] 836(4.5%) 624(3.3%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [76] 25.4% ----------------------------------------------------------------------- for-loop [10] 11.2% ??? [74] 11.2% loop [55] 11.2% eval-prog [59] 66.5% [66] 662(3.5%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 bigfloat-hash [71] 66.5% ??? [74] 11.2% ??? [4] 11.2% simplify [72] 11.2% ----------------------------------------------------------------------- eval-prog [59] 25.0% inductor [67] 75.0% [67] 252(1.4%) 0(0.0%) inductor .../ztatlock/herbie/src/programs.rkt:73:2 inductor [67] 75.0% integer->bigfloat [73] 25.0% ----------------------------------------------------------------------- eval-prog [59] 100.0% [68] 218(1.2%) 0(0.0%) parse-lambda ...llects/racket/private/kw.rkt:393:2 simple-args? [75] 100.0% ----------------------------------------------------------------------- loop [62] 100.0% [69] 198(1.1%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 merge-egraph-nodes! [77] 100.0% ----------------------------------------------------------------------- ??? [63] 100.0% [70] 1376(7.4%) 952(5.1%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [79] 30.8% ----------------------------------------------------------------------- hash-ref! [66] 100.0% [71] 440(2.4%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 bfcanonicalize [78] 100.0% ----------------------------------------------------------------------- taylor-sqrt [5] 48.8% hash-ref! [66] 51.2% [72] 434(2.3%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 parse-loop50 [80] 51.2% f143 [81] 48.8% ----------------------------------------------------------------------- inductor [67] 100.0% [73] 252(1.4%) 252(1.4%) integer->bigfloat ...ivate/bigfloat/mpfr.rkt:399:0 ----------------------------------------------------------------------- hash-ref! [66] 100.0% [74] 222(1.2%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [66] 100.0% ----------------------------------------------------------------------- parse-lambda [68] 100.0% [75] 218(1.2%) 218(1.2%) simple-args? ...llects/racket/private/kw.rkt:306:2 ----------------------------------------------------------------------- match-e [65] 100.0% [76] 212(1.1%) 212(1.1%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 ----------------------------------------------------------------------- apply-match [69] 100.0% [77] 198(1.1%) 0(0.0%) merge-egraph-nodes! ...e/src/core/egraph.rkt:152:0 loop! [82] 100.0% ----------------------------------------------------------------------- bigfloat-hash [71] 100.0% [78] 440(2.4%) 440(2.4%) bfcanonicalize .../private/bigfloat/mpfr.rkt:155:0 ----------------------------------------------------------------------- ??? [70] 100.0% [79] 424(2.3%) 424(2.3%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ----------------------------------------------------------------------- simplify [72] 100.0% [80] 222(1.2%) 222(1.2%) parse-loop50 ...s/racket/match/compiler.rkt:410:15 ----------------------------------------------------------------------- simplify [72] 50.0% approximate9 [49] 50.0% [81] 212(1.1%) 0(0.0%) f143 .../collects/racket/match/compiler.rkt:499:40 taylor-sqrt [5] 50.0% gather-multiplicative-terms [83] 50.0% ----------------------------------------------------------------------- merge-egraph-nodes! [77] 100.0% [82] 198(1.1%) 0(0.0%) loop! .../ztatlock/herbie/src/core/enode.rkt:163:2 custom-set-union [84] 100.0% ----------------------------------------------------------------------- f143 [81] 100.0% [83] 212(1.1%) 212(1.1%) gather-multiplicative-terms ...re/reduce.rkt:107:0 ----------------------------------------------------------------------- loop! [82] 100.0% [84] 198(1.1%) 0(0.0%) custom-set-union ...et/private/set-types.rkt:168:0 for-loop [85] 100.0% ----------------------------------------------------------------------- custom-set-union [84] 100.0% [85] 198(1.1%) 0(0.0%) for-loop ...cts/racket/private/set-types.rkt:174:3 for-loop [86] 100.0% ----------------------------------------------------------------------- for-loop [85] 100.0% [86] 198(1.1%) 198(1.1%) for-loop ...cts/racket/private/set-types.rkt:178:5 -----------------------------------------------------------------------