Profiling results ----------------- Total cpu time observed: 20670ms (out of 21088ms) Number of samples taken: 85 (once every 243ms) ======================================================================= Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ======================================================================= ??? [12] 100.0% [1] 20024(96.9%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [7] 100.0% ----------------------------------------------------------------------- loop [78] 100.0% [2] 1286(6.2%) 0(0.0%) completely-simplify-alt ...erbie/src/glue.rkt:87:0 simplify-expr [8] 100.0% ----------------------------------------------------------------------- f6 [73] 100.0% [3] 220(1.1%) 0(0.0%) combine-mterms ...herbie/src/core/reduce.rkt:182:0 for-loop [9] 100.0% ----------------------------------------------------------------------- hash-ref! [68] 100.0% [4] 220(1.1%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:392:23 for-loop [10] 100.0% ----------------------------------------------------------------------- hash-ref! [68] 100.0% [5] 220(1.1%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:295:23 for-loop [11] 100.0% ----------------------------------------------------------------------- hash-ref! [68] 100.0% [6] 202(1.0%) 0(0.0%) taylor ...tatlock/herbie/src/core/taylor.rkt:157:0 loop [78] 100.0% ----------------------------------------------------------------------- profile-thunk14 [1] 99.0% [7] 20226(97.9%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [12] 100.0% ----------------------------------------------------------------------- simplify [18] 32.5% completely-simplify-alt [2] 67.5% [8] 1904(9.2%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [13] 100.0% ----------------------------------------------------------------------- combine-mterms [3] 100.0% [9] 220(1.1%) 0(0.0%) for-loop ...tlock/herbie/src/core/reduce.rkt:186:5 hash-ref! [68] 100.0% ----------------------------------------------------------------------- ??? [4] 100.0% [10] 220(1.1%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:396:33 for-loop [14] 100.0% ----------------------------------------------------------------------- ??? [5] 100.0% [11] 220(1.1%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:298:27 hash-ref! [68] 100.0% ----------------------------------------------------------------------- for-loop [44] 1.4% run [7] 49.3% [12] 20448(98.9%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 48.3% loop [15] 27.5% run-improve58 [16] 22.8% simplify [18] 1.4% ----------------------------------------------------------------------- simplify [18] 10.4% simplify-expr [8] 89.6% [13] 2124(10.3%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [17] 100.0% ----------------------------------------------------------------------- for-loop [10] 100.0% [14] 220(1.1%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:398:39 hash-ref! [68] 100.0% ----------------------------------------------------------------------- ??? [12] 100.0% [15] 11064(53.5%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [19] 50.8% make-exacts* [26] 47.3% for-loop [25] 1.8% ----------------------------------------------------------------------- ??? [12] 100.0% [16] 9384(45.4%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [20] 47.9% finalize-table! [21] 36.0% for-loop [23] 16.2% ----------------------------------------------------------------------- iterate-egraph!5 [13] 100.0% [17] 2124(10.3%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [22] 89.5% apply-match [24] 10.5% ----------------------------------------------------------------------- ??? [12] 100.0% [18] 838(4.1%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [8] 73.7% iterate-egraph!5 [13] 26.3% ----------------------------------------------------------------------- loop [15] 100.0% [19] 5626(27.2%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [28] 72.3% make-exacts* [26] 27.7% ----------------------------------------------------------------------- run-improve58 [16] 100.0% [20] 4492(21.7%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [27] 100.0% ----------------------------------------------------------------------- run-improve58 [16] 100.0% [21] 3374(16.3%) 0(0.0%) finalize-table! ...k/herbie/src/mainloop.rkt:264:0 post-process [29] 100.0% ----------------------------------------------------------------------- for-loop [22] 50.0% one-iter [17] 50.0% [22] 1902(9.2%) 200(1.0%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [22] 50.0% match-e [30] 44.7% ----------------------------------------------------------------------- run-improve58 [16] 100.0% [23] 1518(7.3%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [31] 100.0% ----------------------------------------------------------------------- one-iter [17] 100.0% [24] 222(1.1%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 substitute-e [32] 100.0% ----------------------------------------------------------------------- loop [15] 100.0% [25] 202(1.0%) 0(0.0%) for-loop .../ztatlock/herbie/src/points.rkt:128:18 for-loop [33] 100.0% ----------------------------------------------------------------------- loop [19] 22.9% loop [15] 77.1% [26] 6794(32.9%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [75] 54.1% loop [78] 45.9% ----------------------------------------------------------------------- get-final-combination [20] 100.0% [27] 4492(21.7%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [34] 100.0% ----------------------------------------------------------------------- loop [19] 100.0% [28] 4068(19.7%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [75] 100.0% ----------------------------------------------------------------------- finalize-table! [21] 100.0% [29] 3374(16.3%) 0(0.0%) post-process .../ztatlock/herbie/src/glue.rkt:95:0 loop [78] 44.6% for-loop [35] 31.6% ??? [45] 17.8% localize-error [37] 6.0% ----------------------------------------------------------------------- for-loop [39] 6.5% for-loop [22] 93.5% [30] 1702(8.2%) 1502(7.3%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [41] 11.8% for-loop [39] 6.5% ----------------------------------------------------------------------- for-loop [23] 100.0% [31] 1518(7.3%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [36] 55.2% gen-series! [38] 15.9% localize-error [37] 15.5% finalize-iter! [40] 13.3% ----------------------------------------------------------------------- apply-match [24] 100.0% [32] 222(1.1%) 222(1.1%) substitute-e ...ck/herbie/src/core/ematch.rkt:71:0 ----------------------------------------------------------------------- for-loop [25] 100.0% [33] 202(1.0%) 202(1.0%) for-loop .../ztatlock/herbie/src/points.rkt:129:20 ----------------------------------------------------------------------- split-table [27] 100.0% [34] 4492(21.7%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [42] 100.0% ----------------------------------------------------------------------- post-process [29] 100.0% [35] 1066(5.2%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:119:17 append-map [43] 100.0% ----------------------------------------------------------------------- run-iter! [31] 100.0% [36] 838(4.1%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [44] 100.0% ----------------------------------------------------------------------- post-process [29] 30.7% loop [78] 33.4% run-iter! [31] 35.9% [37] 658(3.2%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [68] 100.0% ----------------------------------------------------------------------- run-iter! [31] 100.0% [38] 242(1.2%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [46] 100.0% ----------------------------------------------------------------------- match-e [30] 100.0% [39] 222(1.1%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [30] 100.0% ----------------------------------------------------------------------- run-iter! [31] 100.0% [40] 202(1.0%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [45] 100.0% ----------------------------------------------------------------------- match-e [30] 100.0% [41] 200(1.0%) 200(1.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 ----------------------------------------------------------------------- infer-splitpoints4 [34] 100.0% [42] 4492(21.7%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [47] 85.8% pick-errors [50] 14.2% ----------------------------------------------------------------------- for-loop [35] 100.0% [43] 1066(5.2%) 0(0.0%) append-map ...acket/collects/racket/list.rkt:565:2 taylor-alt [48] 100.0% ----------------------------------------------------------------------- simplify! [36] 100.0% [44] 838(4.1%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [12] 100.0% ----------------------------------------------------------------------- finalize-iter! [40] 25.2% post-process [29] 74.8% [45] 802(3.9%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [49] 100.0% ----------------------------------------------------------------------- gen-series! [38] 100.0% [46] 242(1.2%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [48] 100.0% ----------------------------------------------------------------------- option-on-expr [42] 100.0% [47] 3854(18.6%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [51] 100.0% ----------------------------------------------------------------------- for-loop [46] 18.5% append-map [43] 81.5% [48] 1308(6.3%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [52] 100.0% ----------------------------------------------------------------------- ??? [45] 100.0% [49] 802(3.9%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [53] 100.0% ----------------------------------------------------------------------- option-on-expr [42] 100.0% [50] 638(3.1%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [54] 100.0% ----------------------------------------------------------------------- sort-context-on-expr [47] 100.0% [51] 3854(18.6%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [55] 65.4% loop [59] 34.6% ----------------------------------------------------------------------- taylor-alt [48] 100.0% [52] 1308(6.3%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [56] 100.0% ----------------------------------------------------------------------- for-loop [49] 100.0% [53] 802(3.9%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [57] 75.1% override-at-pnts [58] 24.9% ----------------------------------------------------------------------- pick-errors [50] 100.0% [54] 638(3.1%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [67] 68.7% ->flonum [82] 31.3% ----------------------------------------------------------------------- sort [51] 27.8% copying-mergesort [55] 72.2% [55] 2522(12.2%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [55] 72.2% jloop [60] 16.6% loop [59] 11.2% ----------------------------------------------------------------------- location-do [56] 38.5% for-loop [52] 61.5% [56] 1308(6.3%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [61] 61.5% location-do [56] 38.5% ----------------------------------------------------------------------- atab-add-altn [53] 100.0% [57] 602(2.9%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [62] 100.0% ----------------------------------------------------------------------- atab-add-altn [53] 100.0% [58] 200(1.0%) 0(0.0%) override-at-pnts ...e/src/core/alt-table.rkt:145:0 errors [62] 100.0% ----------------------------------------------------------------------- copying-mergesort [55] 38.8% sort [51] 61.2% [59] 2176(10.5%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [63] 100.0% ----------------------------------------------------------------------- copying-mergesort [55] 100.0% [60] 1678(8.1%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [63] 89.3% ??? [81] 10.7% ----------------------------------------------------------------------- location-do [56] 100.0% [61] 1308(6.3%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [64] 84.6% taylor-sqrt [66] 15.4% ----------------------------------------------------------------------- override-at-pnts [58] 24.9% best-and-tied-at-points [57] 75.1% [62] 802(3.9%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [65] 100.0% ----------------------------------------------------------------------- jloop [60] 40.8% loop [59] 59.2% [63] 3674(17.8%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [67] 100.0% ----------------------------------------------------------------------- approximate9 [61] 100.0% [64] 1106(5.4%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [68] 100.0% ----------------------------------------------------------------------- errors [62] 100.0% [65] 802(3.9%) 200(1.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [81] 50.1% ->flonum [82] 24.9% ----------------------------------------------------------------------- approximate9 [61] 100.0% [66] 202(1.0%) 0(0.0%) taylor-sqrt ...ck/herbie/src/core/taylor.rkt:346:0 simplify [69] 100.0% ----------------------------------------------------------------------- for-loop [54] 10.7% ??? [63] 89.3% [67] 4112(19.9%) 3700(17.9%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 inductor [72] 10.0% ----------------------------------------------------------------------- for-loop [9] 2.5% for-loop [11] 2.5% for-loop [14] 3.1% localize-error [37] 13.4% ??? [71] 15.5% ??? [70] 16.7% loop [64] 22.4% ??? [83] 23.9% [68] 1764(8.5%) 220(1.1%) hash-ref! ...racket/private/more-scheme.rkt:373:13 parse-loop12 [76] 20.1% f6 [73] 17.2% ??? [70] 16.7% simplify [69] 16.7% ??? [71] 15.5% taylor [6] 5.7% ??? [4] 3.1% ??? [5] 2.5% ----------------------------------------------------------------------- taylor-sqrt [66] 15.4% loop [78] 15.4% hash-ref! [68] 69.1% [69] 1308(6.3%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 f6 [73] 84.6% debug-print [74] 15.4% ----------------------------------------------------------------------- hash-ref! [68] 100.0% [70] 904(4.4%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [68] 100.0% ----------------------------------------------------------------------- hash-ref! [68] 100.0% [71] 864(4.2%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:63:15 hash-ref! [68] 100.0% ----------------------------------------------------------------------- inductor [72] 25.7% eval-prog [67] 74.3% [72] 412(2.0%) 412(2.0%) inductor .../ztatlock/herbie/src/programs.rkt:73:2 inductor [72] 25.7% ----------------------------------------------------------------------- parse-loop12 [76] 3.8% map [75] 21.5% hash-ref! [68] 37.3% simplify [69] 37.4% [73] 1764(8.5%) 0(0.0%) f6 ...et/collects/racket/match/compiler.rkt:499:40 map [75] 95.8% combine-mterms [3] 4.2% ----------------------------------------------------------------------- simplify [69] 100.0% [74] 202(1.0%) 202(1.0%) debug-print ...ztatlock/herbie/src/debug.rkt:107:0 ----------------------------------------------------------------------- parse-loop12 [76] 1.2% f6 [73] 17.3% make-exacts* [26] 38.6% loop [28] 42.8% [75] 9506(46.0%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [78] 84.8% parse-loop12 [76] 6.2% f6 [73] 4.8% ??? [83] 3.5% make-multiplication-node [77] 0.7% ----------------------------------------------------------------------- parse-loop12 [76] 7.1% hash-ref! [68] 42.6% map [75] 50.3% [76] 1544(7.5%) 442(2.1%) parse-loop12 ...s/racket/match/compiler.rkt:410:15 loop [78] 37.5% parse-app [79] 15.7% f6 [73] 13.1% parse-loop12 [76] 7.1% map [75] 5.1% ----------------------------------------------------------------------- map [75] 100.0% [77] 202(1.0%) 0(0.0%) make-multiplication-node .../core/reduce.rkt:221:0 make-multiplication-subnode [80]100.0% ----------------------------------------------------------------------- make-exacts* [26] 0.1% parse-loop12 [76] 0.2% map [75] 0.6% post-process [29] 0.9% taylor [6] 1.6% loop [78] 96.7% [78] 13008(62.9%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [78] 96.7% simplify [69] 1.6% completely-simplify-alt [2] 0.8% ??? [81] 0.5% ??? [83] 0.2% ??? [91] 0.2% localize-error [37] 0.1% ->flonum [82] 0.0% ----------------------------------------------------------------------- parse-loop12 [76] 100.0% [79] 242(1.2%) 242(1.2%) parse-app .../collects/racket/private/kw.rkt:903:2 ----------------------------------------------------------------------- make-multiplication-node [77] 100.0% [80] 202(1.0%) 0(0.0%) make-multiplication-subnode ...re/reduce.rkt:231:0 group-by68 [84] 100.0% ----------------------------------------------------------------------- jloop [60] 1.6% for-loop [65] 3.7% loop [78] 94.7% [81] 10986(53.1%) 490(2.4%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [85] 80.4% real->bigfloat [86] 15.2% ----------------------------------------------------------------------- for-loop [65] 23.3% for-loop [54] 23.3% loop [78] 53.4% [82] 858(4.2%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [88] 74.6% ??? [98] 25.4% ----------------------------------------------------------------------- map [75] 39.3% loop [78] 60.7% [83] 658(3.2%) 0(0.0%) ??? ...ket/collects/racket/private/list.rkt:323:18 hash-ref! [68] 100.0% ----------------------------------------------------------------------- make-multiplication-subnode [80]100.0% [84] 202(1.0%) 202(1.0%) group-by68 ...acket/collects/racket/list.rkt:749:0 ----------------------------------------------------------------------- ??? [81] 100.0% [85] 8830(42.7%) 380(1.8%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [91] 59.7% bf* [87] 25.5% ...higher-order.rkt:373:33 [89] 5.6% bffma [90] 2.6% ??? [88] 2.3% ----------------------------------------------------------------------- ??? [81] 100.0% [86] 1666(8.1%) 1180(5.7%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [96] 29.2% ----------------------------------------------------------------------- ??? [85] 100.0% [87] 2248(10.9%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [91] 100.0% ----------------------------------------------------------------------- ??? [85] 24.0% ->flonum [82] 76.0% [88] 842(4.1%) 842(4.1%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ----------------------------------------------------------------------- ??? [85] 100.0% [89] 498(2.4%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [94] 100.0% ----------------------------------------------------------------------- ??? [85] 100.0% [90] 232(1.1%) 0(0.0%) bffma ...atlock/herbie/src/syntax/syntax.rkt:122:0 ...ow-val-first.rkt:357:18 [92] 100.0% ----------------------------------------------------------------------- loop [78] 8.0% bf* [87] 27.5% ??? [85] 64.5% [91] 8176(39.6%) 3880(18.8%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfadd [93] 33.2% ??? [98] 16.7% bfexpm1 [95] 2.7% ----------------------------------------------------------------------- bffma [90] 100.0% [92] 232(1.1%) 0(0.0%) ...ow-val-first.rkt:357:18 (unknown source) ??? [94] 100.0% ----------------------------------------------------------------------- ??? [91] 100.0% [93] 2712(13.1%) 1764(8.5%) bfadd ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [96] 35.0% ----------------------------------------------------------------------- ...ow-val-first.rkt:357:18 [92] 31.8% ...higher-order.rkt:373:33 [89] 68.2% [94] 730(3.5%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [97] 100.0% ----------------------------------------------------------------------- ??? [91] 100.0% [95] 220(1.1%) 0(0.0%) bfexpm1 ...ib/math/private/bigfloat/mpfr.rkt:616:4 ??? [96] 100.0% ----------------------------------------------------------------------- bfexpm1 [95] 13.3% real->bigfloat [86] 29.4% bfadd [93] 57.3% [96] 1654(8.0%) 1654(8.0%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ----------------------------------------------------------------------- ??? [94] 100.0% [97] 730(3.5%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [98] 100.0% ----------------------------------------------------------------------- ->flonum [82] 9.4% ??? [97] 31.6% ??? [91] 59.0% [98] 2312(11.2%) 984(4.8%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [99] 47.4% ??? [100] 10.0% ----------------------------------------------------------------------- ??? [98] 100.0% [99] 1096(5.3%) 840(4.1%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [101] 23.4% ----------------------------------------------------------------------- ??? [98] 100.0% [100] 232(1.1%) 232(1.1%) ??? ...ects/racket/contract/private/prop.rkt:489:4 ----------------------------------------------------------------------- ??? [99] 100.0% [101] 256(1.2%) 256(1.2%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 -----------------------------------------------------------------------