Profiling results ----------------- Total cpu time observed: 12068ms (out of 12424ms) Number of samples taken: 58 (once every 208ms) ======================================================================= Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ======================================================================= ??? [8] 100.0% [1] 12068(100.0%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [4] 100.0% ----------------------------------------------------------------------- loop [70] 7.3% ??? [8] 92.7% [2] 2626(21.8%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 iterate-egraph!5 [9] 46.2% simplify-expr [5] 38.5% for-loop [6] 7.7% loop [7] 7.5% ----------------------------------------------------------------------- f94 [65] 100.0% [3] 196(1.6%) 0(0.0%) taylor-invert .../herbie/src/core/taylor.rkt:312:0 simplify [60] 100.0% ----------------------------------------------------------------------- profile-thunk14 [1] 100.0% [4] 12068(100.0%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [8] 100.0% ----------------------------------------------------------------------- simplify [2] 100.0% [5] 1012(8.4%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [9] 100.0% ----------------------------------------------------------------------- simplify [2] 100.0% [6] 202(1.7%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [9] 100.0% ----------------------------------------------------------------------- simplify [2] 100.0% [7] 198(1.6%) 0(0.0%) loop ...tatlock/herbie/src/core/simplify.rkt:203:2 pass [10] 100.0% ----------------------------------------------------------------------- for-loop [37] 6.7% run [4] 46.6% [8] 12068(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 46.6% run-improve58 [11] 25.6% loop [12] 21.0% simplify [2] 6.7% ----------------------------------------------------------------------- for-loop [6] 8.3% simplify-expr [5] 41.7% simplify [2] 50.0% [9] 2428(20.1%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [13] 100.0% ----------------------------------------------------------------------- loop [7] 100.0% [10] 198(1.6%) 0(0.0%) pass ...tatlock/herbie/src/core/simplify.rkt:193:2 for-loop [14] 100.0% ----------------------------------------------------------------------- ??? [8] 100.0% [11] 6994(58.0%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [15] 53.4% for-loop [16] 46.6% ----------------------------------------------------------------------- ??? [8] 100.0% [12] 5074(42.0%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [21] 58.7% loop [17] 41.3% ----------------------------------------------------------------------- iterate-egraph!5 [9] 100.0% [13] 2428(20.1%) 202(1.7%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [18] 66.1% loop [19] 25.5% ----------------------------------------------------------------------- pass [10] 100.0% [14] 198(1.6%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:196:29 argmin [20] 100.0% ----------------------------------------------------------------------- run-improve58 [11] 100.0% [15] 3738(31.0%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [22] 94.9% extract-alt [27] 5.1% ----------------------------------------------------------------------- run-improve58 [11] 100.0% [16] 3256(27.0%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [23] 100.0% ----------------------------------------------------------------------- loop [12] 100.0% [17] 2094(17.4%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 make-exacts* [21] 51.4% loop [24] 48.6% ----------------------------------------------------------------------- for-loop [18] 50.0% one-iter [13] 50.0% [18] 1606(13.3%) 200(1.7%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [18] 50.0% match-e [30] 43.8% ----------------------------------------------------------------------- one-iter [13] 100.0% [19] 620(5.1%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [25] 100.0% ----------------------------------------------------------------------- for-loop [14] 100.0% [20] 198(1.6%) 0(0.0%) argmin ...re/racket/collects/racket/list.rkt:743:0 expression-cost [26] 100.0% ----------------------------------------------------------------------- loop [17] 26.5% loop [12] 73.5% [21] 4056(33.6%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [68] 58.9% loop [70] 41.1% ----------------------------------------------------------------------- get-final-combination [15] 100.0% [22] 3546(29.4%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [28] 100.0% ----------------------------------------------------------------------- for-loop [16] 100.0% [23] 3256(27.0%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [29] 74.8% finalize-iter! [31] 13.0% gen-series! [32] 12.3% ----------------------------------------------------------------------- loop [17] 100.0% [24] 1018(8.4%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [68] 100.0% ----------------------------------------------------------------------- loop [19] 100.0% [25] 620(5.1%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 match-e [30] 35.2% substitute-e [33] 32.6% for-loop [34] 32.3% ----------------------------------------------------------------------- argmin [20] 100.0% [26] 198(1.6%) 0(0.0%) expression-cost ...k/herbie/src/programs.rkt:212:0 compile [35] 100.0% ----------------------------------------------------------------------- get-final-combination [15] 100.0% [27] 192(1.6%) 0(0.0%) extract-alt ...e/ztatlock/herbie/src/glue.rkt:57:0 loop [70] 100.0% ----------------------------------------------------------------------- split-table [22] 100.0% [28] 3546(29.4%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [36] 100.0% ----------------------------------------------------------------------- run-iter! [23] 100.0% [29] 2434(20.2%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [37] 100.0% ----------------------------------------------------------------------- for-loop [44] 13.0% apply-match [25] 13.4% for-loop [18] 73.6% [30] 1624(13.5%) 1006(8.3%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [38] 44.3% for-loop [44] 6.8% ----------------------------------------------------------------------- run-iter! [23] 100.0% [31] 422(3.5%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [39] 100.0% ----------------------------------------------------------------------- run-iter! [23] 100.0% [32] 400(3.3%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [40] 100.0% ----------------------------------------------------------------------- substitute-e [33] 50.0% apply-match [25] 50.0% [33] 202(1.7%) 202(1.7%) substitute-e ...ck/herbie/src/core/ematch.rkt:71:0 substitute-e [33] 50.0% ----------------------------------------------------------------------- apply-match [25] 100.0% [34] 200(1.7%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:136:10 mk-enode! [41] 100.0% ----------------------------------------------------------------------- expression-cost [26] 100.0% [35] 198(1.6%) 0(0.0%) compile .../ztatlock/herbie/src/programs.rkt:189:0 hash-ref! [42] 100.0% ----------------------------------------------------------------------- infer-splitpoints4 [28] 100.0% [36] 3546(29.4%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [43] 88.0% pick-errors [45] 12.0% ----------------------------------------------------------------------- simplify! [29] 100.0% [37] 2434(20.2%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [8] 100.0% ----------------------------------------------------------------------- match-e [30] 100.0% [38] 820(6.8%) 218(1.8%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 for-loop [44] 50.0% curry* [49] 23.4% ----------------------------------------------------------------------- finalize-iter! [31] 100.0% [39] 422(3.5%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [46] 100.0% ----------------------------------------------------------------------- gen-series! [32] 100.0% [40] 400(3.3%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [47] 100.0% ----------------------------------------------------------------------- for-loop [34] 100.0% [41] 200(1.7%) 200(1.7%) mk-enode! ...lock/herbie/src/core/egraph.rkt:101:0 ----------------------------------------------------------------------- compile [35] 100.0% [42] 198(1.6%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [48] 100.0% ----------------------------------------------------------------------- option-on-expr [36] 100.0% [43] 3120(25.9%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [50] 100.0% ----------------------------------------------------------------------- match-e [30] 34.9% for-loop [38] 65.1% [44] 630(5.2%) 208(1.7%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [30] 67.0% ----------------------------------------------------------------------- option-on-expr [36] 100.0% [45] 426(3.5%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [51] 100.0% ----------------------------------------------------------------------- ??? [39] 100.0% [46] 422(3.5%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [52] 100.0% ----------------------------------------------------------------------- for-loop [40] 100.0% [47] 400(3.3%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [53] 100.0% ----------------------------------------------------------------------- hash-ref! [42] 100.0% [48] 198(1.6%) 198(1.6%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 ----------------------------------------------------------------------- for-loop [38] 100.0% [49] 192(1.6%) 0(0.0%) curry* ...racket/collects/racket/function.rkt:44:2 procedure-arity [54] 100.0% ----------------------------------------------------------------------- sort-context-on-expr [43] 100.0% [50] 3120(25.9%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [55] 72.4% loop [58] 27.6% ----------------------------------------------------------------------- pick-errors [45] 100.0% [51] 426(3.5%) 222(1.8%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [69] 47.9% ----------------------------------------------------------------------- for-loop [46] 100.0% [52] 422(3.5%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [56] 100.0% ----------------------------------------------------------------------- taylor-alt [47] 100.0% [53] 400(3.3%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [57] 100.0% ----------------------------------------------------------------------- curry* [49] 100.0% [54] 192(1.6%) 192(1.6%) procedure-arity ...ket/private/norm-arity.rkt:7:27 ----------------------------------------------------------------------- sort [50] 49.2% copying-mergesort [55] 50.8% [55] 2260(18.7%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [55] 50.8% loop [58] 38.0% jloop [59] 11.2% ----------------------------------------------------------------------- atab-add-altn [52] 100.0% [56] 422(3.5%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 for-loop [61] 52.6% errors [62] 47.4% ----------------------------------------------------------------------- location-do [57] 25.5% for-loop [53] 74.5% [57] 400(3.3%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [63] 49.0% location-do [57] 25.5% simplify [60] 25.5% ----------------------------------------------------------------------- sort [50] 40.8% copying-mergesort [55] 59.2% [58] 2106(17.5%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [64] 100.0% ----------------------------------------------------------------------- copying-mergesort [55] 100.0% [59] 1014(8.4%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [64] 100.0% ----------------------------------------------------------------------- taylor-invert [3] 49.0% location-do [57] 51.0% [60] 400(3.3%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 f94 [65] 51.0% parse-loop50 [67] 49.0% ----------------------------------------------------------------------- best-and-tied-at-points [56] 100.0% [61] 222(1.8%) 0(0.0%) for-loop ...k/herbie/src/core/alt-table.rkt:124:16 ??? [66] 100.0% ----------------------------------------------------------------------- best-and-tied-at-points [56] 100.0% [62] 200(1.7%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 eval-prog [69] 100.0% ----------------------------------------------------------------------- location-do [57] 100.0% [63] 196(1.6%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 f94 [65] 100.0% ----------------------------------------------------------------------- jloop [59] 32.5% loop [58] 67.5% [64] 3120(25.9%) 196(1.6%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [69] 86.9% ->flonum [77] 6.8% ----------------------------------------------------------------------- simplify [60] 17.0% f94 [65] 24.5% approximate9 [63] 24.5% map [68] 34.0% [65] 400(3.3%) 0(0.0%) f94 ...t/collects/racket/match/compiler.rkt:499:40 map [68] 51.0% f94 [65] 24.5% taylor-invert [3] 24.5% ----------------------------------------------------------------------- for-loop [61] 100.0% [66] 222(1.8%) 222(1.8%) ??? ...ket/collects/racket/private/for.rkt:1150:14 ----------------------------------------------------------------------- simplify [60] 100.0% [67] 196(1.6%) 196(1.6%) parse-loop50 ...s/racket/match/compiler.rkt:410:15 ----------------------------------------------------------------------- f94 [65] 5.7% loop [24] 28.2% make-exacts* [21] 66.1% [68] 3610(29.9%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [70] 94.3% f94 [65] 3.8% make-multiplication-node [73] 1.9% ----------------------------------------------------------------------- errors [62] 6.4% for-loop [51] 6.5% ??? [64] 87.0% [69] 3116(25.8%) 2306(19.1%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 go [71] 6.7% new-lambda [72] 6.5% inductor [74] 6.4% ??? [75] 6.4% ----------------------------------------------------------------------- extract-alt [27] 1.8% map [68] 2.6% make-exacts* [21] 4.8% loop [70] 90.7% [70] 5266(43.6%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [70] 90.7% ??? [76] 7.4% simplify [2] 1.8% ->flonum [77] 0.1% ----------------------------------------------------------------------- eval-prog [69] 100.0% [71] 208(1.7%) 0(0.0%) go .../collects/racket/private/qq-and-or.rkt:50:20 loop [78] 100.0% ----------------------------------------------------------------------- eval-prog [69] 100.0% [72] 204(1.7%) 204(1.7%) new-lambda ...ollects/racket/private/kw.rkt:631:11 ----------------------------------------------------------------------- map [68] 100.0% [73] 204(1.7%) 0(0.0%) make-multiplication-node .../core/reduce.rkt:221:0 make-multiplication-subnode [79]100.0% ----------------------------------------------------------------------- eval-prog [69] 33.3% inductor [74] 66.7% [74] 200(1.7%) 200(1.7%) inductor .../ztatlock/herbie/src/programs.rkt:73:2 inductor [74] 66.7% ----------------------------------------------------------------------- eval-prog [69] 100.0% [75] 198(1.6%) 0(0.0%) ??? ...collects/racket/private/qq-and-or.rkt:155:9 ??? [80] 100.0% ----------------------------------------------------------------------- loop [70] 100.0% [76] 4456(36.9%) 184(1.5%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [81] 67.1% real->bigfloat [82] 24.3% ??? [92] 4.4% ----------------------------------------------------------------------- ??? [64] 25.5% loop [70] 74.5% [77] 830(6.9%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [93] 48.7% ??? [83] 25.8% ??? [84] 25.5% ----------------------------------------------------------------------- go [71] 100.0% [78] 208(1.7%) 208(1.7%) loop ...llects/racket/private/qq-and-or.rkt:101:61 ----------------------------------------------------------------------- make-multiplication-node [73] 100.0% [79] 204(1.7%) 0(0.0%) make-multiplication-subnode ...re/reduce.rkt:231:0 for-loop [85] 100.0% ----------------------------------------------------------------------- ??? [75] 100.0% [80] 198(1.6%) 198(1.6%) ??? ...ollects/racket/private/qq-and-or.rkt:164:21 ----------------------------------------------------------------------- ??? [76] 100.0% [81] 2992(24.8%) 214(1.8%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [89] 78.5% ...higher-order.rkt:373:33 [86] 7.8% bf* [88] 6.5% ----------------------------------------------------------------------- ??? [76] 100.0% [82] 1084(9.0%) 652(5.4%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [94] 39.9% ----------------------------------------------------------------------- ->flonum [77] 100.0% [83] 214(1.8%) 0(0.0%) ??? ...-racket/utils/simple-result-arrow.rkt:47:15 ??? [94] 100.0% ----------------------------------------------------------------------- ->flonum [77] 100.0% [84] 212(1.8%) 212(1.8%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ----------------------------------------------------------------------- make-multiplication-subnode [79]100.0% [85] 204(1.7%) 0(0.0%) for-loop ...tlock/herbie/src/core/reduce.rkt:233:3 compose [87] 100.0% ----------------------------------------------------------------------- ??? [81] 100.0% [86] 234(1.9%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [90] 100.0% ----------------------------------------------------------------------- for-loop [85] 100.0% [87] 204(1.7%) 204(1.7%) compose ...collects/racket/private/list.rkt:385:12 ----------------------------------------------------------------------- ??? [81] 100.0% [88] 194(1.6%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [89] 100.0% ----------------------------------------------------------------------- bf* [88] 7.6% ??? [81] 92.4% [89] 2544(21.1%) 1016(8.4%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfexp [91] 43.2% ??? [93] 16.8% ----------------------------------------------------------------------- ...higher-order.rkt:373:33 [86] 100.0% [90] 234(1.9%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [92] 100.0% ----------------------------------------------------------------------- ??? [89] 100.0% [91] 1100(9.1%) 672(5.6%) bfexp ...-lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [94] 38.9% ----------------------------------------------------------------------- ??? [76] 45.6% ??? [90] 54.4% [92] 430(3.6%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [93] 100.0% ----------------------------------------------------------------------- ->flonum [77] 32.0% ??? [89] 33.9% ??? [92] 34.1% [93] 1262(10.5%) 598(5.0%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [95] 34.1% ??? [96] 18.5% ----------------------------------------------------------------------- ??? [83] 19.9% bfexp [91] 39.9% real->bigfloat [82] 40.2% [94] 1074(8.9%) 1074(8.9%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ----------------------------------------------------------------------- ??? [93] 100.0% [95] 430(3.6%) 234(1.9%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [97] 45.6% ----------------------------------------------------------------------- ??? [93] 100.0% [96] 234(1.9%) 234(1.9%) ??? ...ects/racket/contract/private/prop.rkt:489:4 ----------------------------------------------------------------------- ??? [95] 100.0% [97] 196(1.6%) 196(1.6%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 -----------------------------------------------------------------------