Profiling results ----------------- Total cpu time observed: 26376ms (out of 26864ms) Number of samples taken: 113 (once every 233ms) (Hiding functions with self<1.0% and local<2.0%: 2 of 102 hidden) ======================================================================= Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ======================================================================= ??? [32] 100.0% [1] 25972(98.5%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [7] 100.0% ----------------------------------------------------------------------- ??? [32] 100.0% [2] 8818(33.4%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 for-loop [8] 78.1% get-final-combination [9] 21.9% ----------------------------------------------------------------------- ??? [32] 100.0% [3] 4030(15.3%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 iterate-egraph!5 [15] 40.2% simplify-expr [11] 34.9% for-loop [12] 24.9% ----------------------------------------------------------------------- location-do [50] 100.0% [4] 1622(6.1%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [10] 100.0% ----------------------------------------------------------------------- copying-mergesort [52] 100.0% [5] 664(2.5%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [64] 100.0% ----------------------------------------------------------------------- match-e [33] 100.0% [6] 200(0.8%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 for-loop [13] 100.0% ----------------------------------------------------------------------- profile-thunk14 [1] 99.2% [7] 26176(99.2%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [32] 100.0% ----------------------------------------------------------------------- run-improve58 [2] 100.0% [8] 6886(26.1%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [14] 100.0% ----------------------------------------------------------------------- run-improve58 [2] 100.0% [9] 1932(7.3%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [16] 100.0% ----------------------------------------------------------------------- approximate9 [4] 100.0% [10] 1622(6.1%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [68] 100.0% ----------------------------------------------------------------------- simplify [3] 100.0% [11] 1408(5.3%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [15] 85.7% loop [17] 14.3% ----------------------------------------------------------------------- simplify [3] 100.0% [12] 1002(3.8%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [15] 100.0% ----------------------------------------------------------------------- for-loop [6] 100.0% [13] 200(0.8%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [33] 100.0% ----------------------------------------------------------------------- for-loop [8] 100.0% [14] 6886(26.1%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [18] 58.5% gen-series! [20] 23.6% finalize-iter! [22] 14.8% localize-error [23] 3.1% ----------------------------------------------------------------------- for-loop [12] 26.2% simplify-expr [11] 31.5% simplify [3] 42.3% [15] 3828(14.5%) 200(0.8%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [19] 94.8% ----------------------------------------------------------------------- get-final-combination [9] 100.0% [16] 1932(7.3%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [21] 78.1% ??? [29] 21.9% ----------------------------------------------------------------------- simplify-expr [11] 100.0% [17] 202(0.8%) 0(0.0%) loop ...tatlock/herbie/src/core/simplify.rkt:203:2 pass [24] 100.0% ----------------------------------------------------------------------- run-iter! [14] 100.0% [18] 4030(15.3%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [25] 100.0% ----------------------------------------------------------------------- iterate-egraph!5 [15] 100.0% [19] 3628(13.8%) 202(0.8%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [26] 72.4% loop [30] 16.6% apply-match [37] 5.5% ----------------------------------------------------------------------- run-iter! [14] 100.0% [20] 1622(6.1%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [27] 100.0% ----------------------------------------------------------------------- split-table [16] 100.0% [21] 1508(5.7%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [28] 100.0% ----------------------------------------------------------------------- run-iter! [14] 100.0% [22] 1022(3.9%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [29] 100.0% ----------------------------------------------------------------------- run-iter! [14] 100.0% [23] 212(0.8%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [68] 100.0% ----------------------------------------------------------------------- loop [17] 100.0% [24] 202(0.8%) 0(0.0%) pass ...tatlock/herbie/src/core/simplify.rkt:193:2 for-loop [31] 100.0% ----------------------------------------------------------------------- simplify! [18] 100.0% [25] 4030(15.3%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [32] 100.0% ----------------------------------------------------------------------- for-loop [26] 50.0% one-iter [19] 50.0% [26] 2626(10.0%) 400(1.5%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [26] 50.0% match-e [33] 38.6% ??? [40] 3.8% ----------------------------------------------------------------------- gen-series! [20] 100.0% [27] 1622(6.1%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [34] 100.0% ----------------------------------------------------------------------- infer-splitpoints4 [21] 100.0% [28] 1508(5.7%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [35] 100.0% ----------------------------------------------------------------------- split-table [16] 29.3% finalize-iter! [22] 70.7% [29] 1446(5.5%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [36] 70.7% split-atab [38] 29.3% ----------------------------------------------------------------------- one-iter [19] 100.0% [30] 602(2.3%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [37] 100.0% ----------------------------------------------------------------------- pass [24] 100.0% [31] 202(0.8%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:196:29 for-loop [39] 100.0% ----------------------------------------------------------------------- for-loop [25] 5.1% run [7] 47.5% [32] 26376(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 46.7% loop [41] 33.7% run-improve58 [2] 14.5% simplify [3] 5.1% ----------------------------------------------------------------------- for-loop [13] 4.9% for-loop [26] 95.1% [33] 2026(7.7%) 1824(6.9%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 custom-in-set [47] 10.0% for-loop [6] 4.9% ----------------------------------------------------------------------- for-loop [27] 100.0% [34] 1622(6.1%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [42] 100.0% ----------------------------------------------------------------------- option-on-expr [28] 100.0% [35] 1508(5.7%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [43] 100.0% ----------------------------------------------------------------------- ??? [29] 100.0% [36] 1022(3.9%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [44] 100.0% ----------------------------------------------------------------------- one-iter [19] 24.8% loop [30] 75.2% [37] 800(3.0%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 substitute-e [45] 100.0% ----------------------------------------------------------------------- ??? [29] 100.0% [38] 424(1.6%) 0(0.0%) split-atab ...k/herbie/src/core/alt-table.rkt:74:0 for-loop [46] 100.0% ----------------------------------------------------------------------- for-loop [31] 100.0% [39] 202(0.8%) 202(0.8%) for-loop ...ck/herbie/src/core/simplify.rkt:183:13 ----------------------------------------------------------------------- for-loop [26] 100.0% [40] 200(0.8%) 0(0.0%) ??? /home/ztatlock/herbie/src/core/ematch.rkt:50:5 for-loop [48] 100.0% ----------------------------------------------------------------------- ??? [32] 100.0% [41] 17558(66.6%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [57] 52.5% loop [49] 46.3% ----------------------------------------------------------------------- taylor-alt [34] 100.0% [42] 1622(6.1%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [50] 100.0% ----------------------------------------------------------------------- sort-context-on-expr [35] 100.0% [43] 1508(5.7%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [52] 58.8% loop [59] 41.2% ----------------------------------------------------------------------- for-loop [36] 100.0% [44] 1022(3.9%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [51] 100.0% ----------------------------------------------------------------------- substitute-e [45] 12.6% apply-match [37] 87.4% [45] 800(3.0%) 200(0.8%) substitute-e ...ck/herbie/src/core/ematch.rkt:71:0 mk-enode! [53] 49.8% substitute-e [45] 12.6% constant? [55] 12.6% ----------------------------------------------------------------------- split-atab [38] 100.0% [46] 424(1.6%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:75:2 for-loop [54] 52.4% for-loop [56] 47.6% ----------------------------------------------------------------------- match-e [33] 100.0% [47] 202(0.8%) 202(0.8%) custom-in-set ...acket/private/set-types.rkt:578:0 ----------------------------------------------------------------------- ??? [40] 100.0% [48] 200(0.8%) 200(0.8%) for-loop ...atlock/herbie/src/core/ematch.rkt:51:7 ----------------------------------------------------------------------- loop [41] 100.0% [49] 8138(30.9%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [58] 67.1% make-exacts* [57] 30.4% eval-prog [67] 2.5% ----------------------------------------------------------------------- for-loop [42] 29.7% location-do [50] 70.3% [50] 1622(6.1%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 location-do [50] 70.3% approximate9 [4] 29.7% ----------------------------------------------------------------------- atab-add-altn [44] 100.0% [51] 1022(3.9%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [60] 80.6% for-loop [63] 19.4% ----------------------------------------------------------------------- sort [43] 31.3% copying-mergesort [52] 68.7% [52] 886(3.4%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [52] 68.7% jloop [5] 18.7% loop [59] 12.5% ----------------------------------------------------------------------- substitute-e [45] 100.0% [53] 398(1.5%) 200(0.8%) mk-enode! ...lock/herbie/src/core/egraph.rkt:101:0 hash-has-key? [62] 49.7% ----------------------------------------------------------------------- for-loop [46] 100.0% [54] 222(0.8%) 0(0.0%) for-loop ...ck/herbie/src/core/alt-table.rkt:86:30 ??? [65] 100.0% ----------------------------------------------------------------------- substitute-e [45] 100.0% [55] 202(0.8%) 202(0.8%) constant? ...ck/herbie/src/syntax/syntax.rkt:221:0 ----------------------------------------------------------------------- for-loop [46] 100.0% [56] 202(0.8%) 0(0.0%) for-loop ...ck/herbie/src/core/alt-table.rkt:80:53 loop [61] 100.0% ----------------------------------------------------------------------- loop [49] 21.2% loop [41] 78.8% [57] 11692(44.3%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [79] 51.6% loop [81] 46.4% eval-prog [67] 2.0% ----------------------------------------------------------------------- loop [49] 100.0% [58] 5458(20.7%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [79] 100.0% ----------------------------------------------------------------------- copying-mergesort [52] 26.3% sort [43] 73.7% [59] 844(3.2%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [64] 100.0% ----------------------------------------------------------------------- best-and-tied-at-points [51] 100.0% [60] 824(3.1%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 eval-prog [67] 51.2% for-loop [66] 48.8% ----------------------------------------------------------------------- for-loop [56] 100.0% [61] 202(0.8%) 0(0.0%) loop ...ket/collects/racket/private/list.rkt:264:4 ??? [65] 100.0% ----------------------------------------------------------------------- mk-enode! [53] 100.0% [62] 198(0.8%) 198(0.8%) hash-has-key? ...et/private/more-scheme.rkt:368:13 ----------------------------------------------------------------------- best-and-tied-at-points [51] 100.0% [63] 198(0.8%) 198(0.8%) for-loop ...k/herbie/src/core/alt-table.rkt:124:16 ----------------------------------------------------------------------- jloop [5] 44.0% loop [59] 56.0% [64] 1508(5.7%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [67] 100.0% ----------------------------------------------------------------------- loop [61] 47.6% for-loop [54] 52.4% [65] 424(1.6%) 0(0.0%) ??? .../ztatlock/herbie/src/core/regimes.rkt:291:8 eval-prog [67] 100.0% ----------------------------------------------------------------------- errors [60] 100.0% [66] 402(1.5%) 200(0.8%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [84] 50.2% ----------------------------------------------------------------------- loop [49] 7.3% make-exacts* [57] 8.4% errors [60] 15.1% ??? [65] 15.2% ??? [64] 54.0% [67] 2794(10.6%) 1910(7.2%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [68] 15.7% ??? [69] 7.9% go [70] 7.9% ----------------------------------------------------------------------- localize-error [23] 3.1% eval-prog [67] 4.8% ??? [86] 6.2% ??? [73] 12.0% loop [81] 14.5% ??? [71] 29.7% loop [10] 29.7% [68] 2274(8.6%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [71] 29.7% simplify [72] 29.7% ??? [75] 14.5% ??? [73] 12.0% parse-loop12 [80] 6.2% bigfloat-hash [74] 4.8% f6 [78] 3.1% ----------------------------------------------------------------------- eval-prog [67] 100.0% [69] 222(0.8%) 222(0.8%) ??? ...collects/racket/private/qq-and-or.rkt:155:9 ----------------------------------------------------------------------- eval-prog [67] 100.0% [70] 222(0.8%) 0(0.0%) go .../collects/racket/private/qq-and-or.rkt:50:20 loop [76] 100.0% ----------------------------------------------------------------------- hash-ref! [68] 100.0% [71] 1622(6.1%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [68] 100.0% ----------------------------------------------------------------------- hash-ref! [68] 100.0% [72] 1622(6.1%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 parse-loop12 [80] 87.7% f6 [78] 12.3% ----------------------------------------------------------------------- hash-ref! [68] 100.0% [73] 818(3.1%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:338:33 hash-ref! [68] 100.0% ----------------------------------------------------------------------- hash-ref! [68] 100.0% [74] 440(1.7%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 sig+exp->bigfloat [77] 100.0% ----------------------------------------------------------------------- hash-ref! [68] 100.0% [75] 440(1.7%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [81] 100.0% ----------------------------------------------------------------------- go [70] 100.0% [76] 222(0.8%) 222(0.8%) loop ...llects/racket/private/qq-and-or.rkt:101:61 ----------------------------------------------------------------------- bigfloat-hash [74] 100.0% [77] 440(1.7%) 440(1.7%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 ----------------------------------------------------------------------- parse-loop12 [80] 8.1% simplify [72] 8.1% map [79] 32.4% hash-ref! [68] 51.5% [78] 412(1.6%) 0(0.0%) f6 ...et/collects/racket/match/compiler.rkt:499:40 map [79] 100.0% ----------------------------------------------------------------------- f6 [78] 3.1% parse-loop12 [80] 3.5% loop [58] 44.4% make-exacts* [57] 49.0% [79] 12302(46.6%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [81] 93.2% parse-loop12 [80] 2.1% ??? [84] 1.8% ??? [86] 1.7% f6 [78] 0.9% ----------------------------------------------------------------------- parse-loop12 [80] 5.5% hash-ref! [68] 11.6% map [79] 14.5% simplify [72] 31.5% loop [81] 37.0% [80] 1834(7.0%) 1204(4.6%) parse-loop12 ...s/racket/match/compiler.rkt:410:15 loop [81] 40.0% map [79] 11.8% parse-app [82] 5.9% loop [83] 5.8% f6 [78] 5.5% parse-loop12 [80] 5.5% ----------------------------------------------------------------------- make-exacts* [57] 0.1% map [79] 1.0% ??? [75] 1.8% parse-loop12 [80] 4.2% loop [81] 93.0% [81] 18766(71.1%) 226(0.9%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [81] 93.0% parse-loop12 [80] 3.2% hash-ref! [68] 1.8% ??? [86] 1.1% ??? [84] 0.9% ----------------------------------------------------------------------- parse-loop12 [80] 100.0% [82] 218(0.8%) 218(0.8%) parse-app .../collects/racket/private/kw.rkt:903:2 ----------------------------------------------------------------------- parse-loop12 [80] 3.1% loop [83] 96.9% [83] 212(0.8%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:37:19 loop [83] 96.9% ->flonum [85] 3.1% ----------------------------------------------------------------------- for-loop [66] 1.2% map [79] 1.3% loop [81] 97.5% [84] 16890(64.0%) 662(2.5%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [87] 92.0% real->bigfloat [88] 2.8% ??? [96] 1.3% ----------------------------------------------------------------------- loop [83] 100.0% [85] 212(0.8%) 212(0.8%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ----------------------------------------------------------------------- map [79] 50.0% loop [81] 50.0% [86] 212(0.8%) 0(0.0%) ??? ...ket/collects/racket/private/list.rkt:323:18 hash-ref! [68] 100.0% ----------------------------------------------------------------------- ??? [84] 100.0% [87] 15534(58.9%) 424(1.6%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [89] 86.1% ...higher-order.rkt:373:33 [90] 7.9% bf<= [91] 3.2% ----------------------------------------------------------------------- ??? [84] 100.0% [88] 474(1.8%) 474(1.8%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ----------------------------------------------------------------------- ??? [87] 100.0% [89] 13382(50.7%) 5324(20.2%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfdiv [92] 29.8% ??? [97] 16.5% bfexpm1 [93] 13.9% ----------------------------------------------------------------------- ??? [87] 100.0% [90] 1234(4.7%) 232(0.9%) ...higher-order.rkt:373:33 (unknown source) ??? [96] 62.7% ??? [94] 18.5% ----------------------------------------------------------------------- ??? [87] 100.0% [91] 494(1.9%) 246(0.9%) bf<= ...h/private/bigfloat/bigfloat-mpfr.rkt:127:4 ??? [97] 50.2% ----------------------------------------------------------------------- ??? [89] 100.0% [92] 3992(15.1%) 3304(12.5%) bfdiv ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [95] 17.2% ----------------------------------------------------------------------- ??? [89] 100.0% [93] 1856(7.0%) 942(3.6%) bfexpm1 ...ib/math/private/bigfloat/mpfr.rkt:616:4 ??? [95] 49.2% ----------------------------------------------------------------------- ...higher-order.rkt:373:33 [90]100.0% [94] 228(0.9%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [96] 100.0% ----------------------------------------------------------------------- bfdiv [92] 42.9% bfexpm1 [93] 57.1% [95] 1602(6.1%) 1602(6.1%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ----------------------------------------------------------------------- ??? [84] 18.0% ??? [94] 18.7% ...higher-order.rkt:373:33 [90] 63.3% [96] 1222(4.6%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [97] 100.0% ----------------------------------------------------------------------- bf<= [91] 6.7% ??? [96] 33.2% ??? [89] 60.1% [97] 3680(14.0%) 952(3.6%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [98] 67.6% ??? [99] 6.6% ----------------------------------------------------------------------- ??? [97] 100.0% [98] 2486(9.4%) 2278(8.6%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [100] 8.4% ----------------------------------------------------------------------- ??? [97] 100.0% [99] 242(0.9%) 242(0.9%) ??? ...ects/racket/contract/private/prop.rkt:489:4 ----------------------------------------------------------------------- ??? [98] 100.0% [100] 208(0.8%) 208(0.8%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 -----------------------------------------------------------------------