Profiling results ----------------- Total cpu time observed: 14586ms (out of 14960ms) Number of samples taken: 64 (once every 228ms) ======================================================================= Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ======================================================================= ??? [9] 100.0% [1] 14362(98.5%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [5] 100.0% ----------------------------------------------------------------------- ??? [9] 100.0% [2] 1688(11.6%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [6] 51.3% iterate-egraph!5 [10] 25.0% for-loop [8] 23.7% ----------------------------------------------------------------------- loop [70] 100.0% [3] 846(5.8%) 0(0.0%) completely-simplify-alt ...erbie/src/glue.rkt:87:0 simplify-expr [6] 100.0% ----------------------------------------------------------------------- hash-ref! [62] 100.0% [4] 822(5.6%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:338:33 for-loop [7] 100.0% ----------------------------------------------------------------------- profile-thunk14 [1] 100.0% [5] 14362(98.5%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [9] 100.0% ----------------------------------------------------------------------- completely-simplify-alt [3] 49.4% simplify [2] 50.6% [6] 1712(11.7%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [10] 87.0% loop [11] 13.0% ----------------------------------------------------------------------- ??? [4] 100.0% [7] 822(5.6%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:341:46 hash-ref! [62] 100.0% ----------------------------------------------------------------------- simplify [2] 100.0% [8] 400(2.7%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [10] 100.0% ----------------------------------------------------------------------- for-loop [42] 3.9% run [5] 47.3% [9] 14586(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 47.3% run-improve58 [12] 25.7% loop [13] 23.1% simplify [2] 3.9% ----------------------------------------------------------------------- for-loop [8] 17.3% simplify [2] 18.3% simplify-expr [6] 64.4% [10] 2312(15.9%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [14] 91.3% map-enodes [16] 8.7% ----------------------------------------------------------------------- simplify-expr [6] 100.0% [11] 222(1.5%) 0(0.0%) loop ...tatlock/herbie/src/core/simplify.rkt:203:2 pass [15] 100.0% ----------------------------------------------------------------------- ??? [9] 100.0% [12] 8062(55.3%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [17] 37.4% for-loop [18] 36.4% finalize-table! [20] 26.2% ----------------------------------------------------------------------- ??? [9] 100.0% [13] 6524(44.7%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [24] 57.9% loop [19] 42.1% ----------------------------------------------------------------------- iterate-egraph!5 [10] 100.0% [14] 2112(14.5%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [21] 100.0% ----------------------------------------------------------------------- loop [11] 100.0% [15] 222(1.5%) 0(0.0%) pass ...tatlock/herbie/src/core/simplify.rkt:193:2 for-loop [22] 100.0% ----------------------------------------------------------------------- iterate-egraph!5 [10] 100.0% [16] 200(1.4%) 0(0.0%) map-enodes ...ock/herbie/src/core/egraph.rkt:139:0 for-loop [23] 100.0% ----------------------------------------------------------------------- run-improve58 [12] 100.0% [17] 3018(20.7%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [25] 100.0% ----------------------------------------------------------------------- run-improve58 [12] 100.0% [18] 2932(20.1%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [26] 100.0% ----------------------------------------------------------------------- loop [13] 100.0% [19] 2746(18.8%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [29] 63.4% make-exacts* [24] 36.6% ----------------------------------------------------------------------- run-improve58 [12] 100.0% [20] 2112(14.5%) 0(0.0%) finalize-table! ...k/herbie/src/mainloop.rkt:264:0 post-process [27] 100.0% ----------------------------------------------------------------------- for-loop [21] 50.0% one-iter [14] 50.0% [21] 2112(14.5%) 200(1.4%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [21] 50.0% match-e [28] 45.3% ----------------------------------------------------------------------- pass [15] 100.0% [22] 222(1.5%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:196:29 argmin [30] 100.0% ----------------------------------------------------------------------- map-enodes [16] 100.0% [23] 200(1.4%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:161:2 eval-const-expr [31] 100.0% ----------------------------------------------------------------------- loop [19] 21.0% loop [13] 79.0% [24] 4782(32.8%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [68] 53.0% loop [70] 47.0% ----------------------------------------------------------------------- get-final-combination [17] 100.0% [25] 3018(20.7%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [32] 100.0% ----------------------------------------------------------------------- for-loop [18] 100.0% [26] 2932(20.1%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [33] 57.6% finalize-iter! [35] 28.8% gen-series! [37] 13.6% ----------------------------------------------------------------------- finalize-table! [20] 100.0% [27] 2112(14.5%) 0(0.0%) post-process .../ztatlock/herbie/src/glue.rkt:95:0 for-loop [34] 49.4% loop [70] 40.1% ??? [69] 10.5% ----------------------------------------------------------------------- for-loop [47] 5.2% for-loop [21] 94.8% [28] 1912(13.1%) 1308(9.0%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [36] 21.0% constant? [39] 10.6% ----------------------------------------------------------------------- loop [19] 100.0% [29] 1742(11.9%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [68] 100.0% ----------------------------------------------------------------------- for-loop [22] 100.0% [30] 222(1.5%) 0(0.0%) argmin ...re/racket/collects/racket/list.rkt:743:0 expression-cost [38] 100.0% ----------------------------------------------------------------------- for-loop [23] 100.0% [31] 200(1.4%) 0(0.0%) eval-const-expr ...k/herbie/src/programs.rkt:180:0 expression-induct31 [40] 100.0% ----------------------------------------------------------------------- split-table [25] 100.0% [32] 3018(20.7%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [41] 100.0% ----------------------------------------------------------------------- run-iter! [26] 100.0% [33] 1688(11.6%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [42] 100.0% ----------------------------------------------------------------------- post-process [27] 100.0% [34] 1044(7.2%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:119:17 append-map [43] 100.0% ----------------------------------------------------------------------- run-iter! [26] 100.0% [35] 844(5.8%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [69] 100.0% ----------------------------------------------------------------------- match-e [28] 100.0% [36] 402(2.8%) 402(2.8%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 for-loop [47] 24.9% ----------------------------------------------------------------------- run-iter! [26] 100.0% [37] 400(2.7%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [44] 100.0% ----------------------------------------------------------------------- argmin [30] 100.0% [38] 222(1.5%) 0(0.0%) expression-cost ...k/herbie/src/programs.rkt:212:0 compile [45] 100.0% ----------------------------------------------------------------------- match-e [28] 100.0% [39] 202(1.4%) 202(1.4%) constant? ...ck/herbie/src/syntax/syntax.rkt:221:0 ----------------------------------------------------------------------- eval-const-expr [31] 100.0% [40] 200(1.4%) 0(0.0%) expression-induct31 ...erbie/src/programs.rkt:55:0 inductor [46] 100.0% ----------------------------------------------------------------------- infer-splitpoints4 [32] 100.0% [41] 3018(20.7%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [48] 92.0% err-lsts->split-indices [50] 8.0% ----------------------------------------------------------------------- simplify! [33] 100.0% [42] 1688(11.6%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [9] 100.0% ----------------------------------------------------------------------- for-loop [34] 100.0% [43] 1044(7.2%) 0(0.0%) append-map ...acket/collects/racket/list.rkt:565:2 taylor-alt [49] 80.8% loop [70] 19.2% ----------------------------------------------------------------------- gen-series! [37] 100.0% [44] 400(2.7%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [49] 100.0% ----------------------------------------------------------------------- expression-cost [38] 100.0% [45] 222(1.5%) 0(0.0%) compile .../ztatlock/herbie/src/programs.rkt:189:0 hash-ref! [62] 100.0% ----------------------------------------------------------------------- inductor [46] 50.0% expression-induct31 [40] 50.0% [46] 200(1.4%) 200(1.4%) inductor .../ztatlock/herbie/src/programs.rkt:73:2 inductor [46] 50.0% ----------------------------------------------------------------------- for-loop [36] 100.0% [47] 200(1.4%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [28] 100.0% ----------------------------------------------------------------------- option-on-expr [41] 100.0% [48] 2778(19.0%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [51] 100.0% ----------------------------------------------------------------------- loop [70] 13.9% for-loop [44] 27.7% append-map [43] 58.4% [49] 1444(9.9%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [52] 100.0% ----------------------------------------------------------------------- option-on-expr [41] 100.0% [50] 240(1.6%) 240(1.6%) err-lsts->split-indices .../core/regimes.rkt:224:0 ----------------------------------------------------------------------- sort-context-on-expr [48] 100.0% [51] 2778(19.0%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [53] 76.8% loop [57] 23.2% ----------------------------------------------------------------------- taylor-alt [49] 100.0% [52] 1444(9.9%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [54] 100.0% ----------------------------------------------------------------------- sort [51] 35.9% copying-mergesort [53] 64.1% [53] 2134(14.6%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [53] 64.1% loop [57] 18.2% jloop [55] 17.7% ----------------------------------------------------------------------- location-do [54] 27.4% for-loop [52] 72.6% [54] 1444(9.9%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [56] 72.6% location-do [54] 27.4% ----------------------------------------------------------------------- copying-mergesort [53] 100.0% [55] 1512(10.4%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [58] 100.0% ----------------------------------------------------------------------- location-do [54] 100.0% [56] 1444(9.9%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [59] 70.9% taylor-quotient [60] 15.2% f37 [66] 13.9% ----------------------------------------------------------------------- copying-mergesort [53] 49.1% sort [51] 50.9% [57] 1266(8.7%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [58] 100.0% ----------------------------------------------------------------------- loop [57] 45.6% jloop [55] 54.4% [58] 2778(19.0%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [80] 100.0% ----------------------------------------------------------------------- approximate9 [56] 100.0% [59] 1024(7.0%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [62] 100.0% ----------------------------------------------------------------------- f37 [66] 47.6% approximate9 [56] 52.4% [60] 420(2.9%) 0(0.0%) taylor-quotient ...erbie/src/core/taylor.rkt:328:0 first-nonzero-exp [61] 52.4% simplify [63] 47.6% ----------------------------------------------------------------------- taylor-quotient [60] 100.0% [61] 220(1.5%) 0(0.0%) first-nonzero-exp ...bie/src/core/taylor.rkt:260:0 hash-ref! [62] 100.0% ----------------------------------------------------------------------- ??? [65] 10.6% first-nonzero-exp [61] 15.0% compile [45] 15.1% for-loop [7] 15.2% ??? [64] 15.2% loop [59] 28.9% [62] 1466(10.1%) 222(1.5%) hash-ref! ...racket/private/more-scheme.rkt:373:13 simplify [63] 43.9% ??? [64] 15.2% ??? [4] 15.2% ??? [65] 10.6% ----------------------------------------------------------------------- taylor-quotient [60] 13.9% hash-ref! [62] 86.1% [63] 1444(9.9%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 parse-loop50 [74] 56.9% f37 [66] 29.1% debug7 [67] 14.0% ----------------------------------------------------------------------- hash-ref! [62] 100.0% [64] 822(5.6%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [62] 100.0% ----------------------------------------------------------------------- hash-ref! [62] 100.0% [65] 622(4.3%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:63:15 hash-ref! [62] 100.0% ----------------------------------------------------------------------- approximate9 [56] 11.9% simplify [63] 38.1% map [68] 50.0% [66] 420(2.9%) 200(1.4%) f37 ...t/collects/racket/match/compiler.rkt:499:40 map [68] 76.2% taylor-quotient [60] 11.9% ----------------------------------------------------------------------- simplify [63] 100.0% [67] 202(1.4%) 0(0.0%) debug7 /home/ztatlock/herbie/src/debug.rkt:102:0 ??? [69] 100.0% ----------------------------------------------------------------------- f37 [66] 8.9% loop [29] 37.1% make-exacts* [24] 54.0% [68] 4698(32.2%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [70] 91.1% f37 [66] 6.6% ??? [72] 2.3% ----------------------------------------------------------------------- debug7 [67] 15.9% post-process [27] 17.5% finalize-iter! [35] 66.6% [69] 1268(8.7%) 202(1.4%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [71] 84.1% ----------------------------------------------------------------------- make-exacts* [24] 0.2% map [68] 0.4% post-process [27] 1.8% append-map [43] 2.4% parse-loop50 [74] 5.0% loop [70] 90.1% [70] 8192(56.2%) 244(1.7%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [70] 90.1% parse-loop50 [74] 5.0% taylor-alt [49] 2.4% completely-simplify-alt [3] 1.8% ??? [82] 0.5% ->flonum [83] 0.0% ----------------------------------------------------------------------- ??? [69] 100.0% [71] 1066(7.3%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [73] 100.0% ----------------------------------------------------------------------- map [68] 100.0% [72] 220(1.5%) 0(0.0%) ??? /home/ztatlock/herbie/src/core/reduce.rkt:52:5 for-loop [75] 100.0% ----------------------------------------------------------------------- for-loop [71] 100.0% [73] 1066(7.3%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [76] 100.0% ----------------------------------------------------------------------- loop [70] 23.2% parse-loop50 [74] 29.3% simplify [63] 47.5% [74] 822(5.6%) 602(4.1%) parse-loop50 ...s/racket/match/compiler.rkt:410:15 parse-loop50 [74] 29.3% loop [70] 23.2% parse-app [77] 8.9% ----------------------------------------------------------------------- ??? [72] 100.0% [75] 220(1.5%) 0(0.0%) for-loop ...atlock/herbie/src/core/reduce.rkt:53:7 pattern-match [78] 100.0% ----------------------------------------------------------------------- atab-add-altn [73] 100.0% [76] 1066(7.3%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [79] 100.0% ----------------------------------------------------------------------- parse-loop50 [74] 100.0% [77] 220(1.5%) 220(1.5%) parse-app .../collects/racket/private/kw.rkt:903:2 ----------------------------------------------------------------------- for-loop [75] 100.0% [78] 220(1.5%) 220(1.5%) pattern-match .../herbie/src/core/matcher.rkt:47:0 ----------------------------------------------------------------------- best-and-tied-at-points [76] 100.0% [79] 1066(7.3%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [81] 58.3% eval-prog [80] 41.7% ----------------------------------------------------------------------- errors [79] 13.8% ??? [58] 86.2% [80] 3222(22.1%) 3222(22.1%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 ----------------------------------------------------------------------- errors [79] 100.0% [81] 622(4.3%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [82] 35.4% ulp-difference [84] 32.5% ->flonum [83] 32.2% ----------------------------------------------------------------------- for-loop [81] 3.8% loop [70] 96.2% [82] 5758(39.5%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [85] 60.1% real->bigfloat [86] 36.1% ??? [95] 3.8% ----------------------------------------------------------------------- for-loop [81] 21.2% loop [70] 78.8% [83] 942(6.5%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [87] 70.7% ??? [88] 29.3% ----------------------------------------------------------------------- for-loop [81] 100.0% [84] 202(1.4%) 0(0.0%) ulp-difference ...atlock/herbie/src/float.rkt:19:0 ??? [87] 100.0% ----------------------------------------------------------------------- ??? [82] 100.0% [85] 3462(23.7%) 220(1.5%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [93] 33.8% bfcube [89] 30.6% bf* [91] 15.5% ...higher-order.rkt:373:33 [90] 13.7% ----------------------------------------------------------------------- ??? [82] 100.0% [86] 2078(14.2%) 1806(12.4%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [99] 13.1% ----------------------------------------------------------------------- ulp-difference [84] 23.3% ->flonum [83] 76.7% [87] 868(6.0%) 868(6.0%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ----------------------------------------------------------------------- ->flonum [83] 100.0% [88] 276(1.9%) 0(0.0%) ??? ...-racket/utils/simple-result-arrow.rkt:47:15 ??? [99] 100.0% ----------------------------------------------------------------------- ??? [85] 100.0% [89] 1060(7.3%) 0(0.0%) bfcube ...tlock/herbie/src/syntax/syntax.rkt:119:0 bf* [91] 77.9% ...ow-val-first.rkt:357:18 [92] 22.1% ----------------------------------------------------------------------- ??? [85] 100.0% [90] 476(3.3%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [94] 52.9% ??? [95] 47.1% ----------------------------------------------------------------------- ??? [85] 39.4% bfcube [89] 60.6% [91] 1362(9.3%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [93] 100.0% ----------------------------------------------------------------------- bfcube [89] 100.0% [92] 234(1.6%) 0(0.0%) ...ow-val-first.rkt:357:18 (unknown source) ??? [94] 100.0% ----------------------------------------------------------------------- ??? [85] 46.2% bf* [91] 53.8% [93] 2532(17.4%) 688(4.7%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 ??? [98] 32.7% bfmul [96] 21.1% bfcbrt [97] 19.0% ----------------------------------------------------------------------- ...ow-val-first.rkt:357:18 [92] 48.1% ...higher-order.rkt:373:33 [90] 51.9% [94] 486(3.3%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [95] 100.0% ----------------------------------------------------------------------- ??? [82] 23.5% ...higher-order.rkt:373:33 [90] 24.1% ??? [94] 52.4% [95] 928(6.4%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [98] 100.0% ----------------------------------------------------------------------- ??? [93] 100.0% [96] 534(3.7%) 534(3.7%) bfmul ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ----------------------------------------------------------------------- ??? [93] 100.0% [97] 482(3.3%) 246(1.7%) bfcbrt ...lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [99] 49.0% ----------------------------------------------------------------------- ??? [93] 47.2% ??? [95] 52.8% [98] 1756(12.0%) 794(5.4%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [100] 54.8% ----------------------------------------------------------------------- bfcbrt [97] 30.1% real->bigfloat [86] 34.7% ??? [88] 35.2% [99] 784(5.4%) 784(5.4%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ----------------------------------------------------------------------- ??? [98] 100.0% [100] 962(6.6%) 492(3.4%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [101] 48.9% ----------------------------------------------------------------------- ??? [100] 100.0% [101] 470(3.2%) 470(3.2%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 -----------------------------------------------------------------------