Profiling results ----------------- Total cpu time observed: 16550ms (out of 17000ms) Number of samples taken: 70 (once every 236ms) ==================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ==================================================================== ??? [36] 100.0% [1] 16550(100.0%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [11] 100.0% -------------------------------------------------------------------- ??? [36] 100.0% [2] 9804(59.2%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [12] 62.9% for-loop [13] 37.1% -------------------------------------------------------------------- copying-mergesort [53] 100.0% [3] 1484(9.0%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [68] 100.0% -------------------------------------------------------------------- loop [78] 13.7% ??? [36] 86.3% [4] 1460(8.8%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [14] 100.0% -------------------------------------------------------------------- hash-ref! [74] 100.0% [5] 1098(6.6%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [74] 100.0% -------------------------------------------------------------------- hash-ref! [74] 100.0% [6] 1098(6.6%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 f6 [15] 59.7% parse-loop12 [76] 40.3% -------------------------------------------------------------------- hash-ref! [74] 100.0% [7] 682(4.1%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:63:15 hash-ref! [74] 100.0% -------------------------------------------------------------------- hash-ref! [74] 100.0% [8] 662(4.0%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:338:33 hash-ref! [74] 66.8% for-loop [16] 33.2% -------------------------------------------------------------------- hash-ref! [74] 100.0% [9] 204(1.2%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [78] 100.0% -------------------------------------------------------------------- loop [78] 100.0% [10] 200(1.2%) 0(0.0%) ??? ...ket/collects/racket/private/list.rkt:323:18 hash-ref! [74] 100.0% -------------------------------------------------------------------- profile-thunk14 [1] 100.0% [11] 16550(100.0%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [36] 100.0% -------------------------------------------------------------------- run-improve58 [2] 100.0% [12] 6170(37.3%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [17] 96.8% extract-alt [20] 3.2% -------------------------------------------------------------------- run-improve58 [2] 100.0% [13] 3634(22.0%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [18] 100.0% -------------------------------------------------------------------- simplify [4] 100.0% [14] 1460(8.8%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [19] 100.0% -------------------------------------------------------------------- parse-loop12 [76] 9.3% hash-ref! [74] 23.4% simplify [6] 27.2% map [69] 40.1% [15] 856(5.2%) 0(0.0%) f6 ...et/collects/racket/match/compiler.rkt:499:40 map [69] 88.6% select-handler/no-breaks [21] 11.4% -------------------------------------------------------------------- ??? [8] 100.0% [16] 220(1.3%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:341:46 hash-ref! [74] 100.0% -------------------------------------------------------------------- get-final-combination [12] 100.0% [17] 5970(36.1%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [22] 100.0% -------------------------------------------------------------------- for-loop [13] 100.0% [18] 3634(22.0%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [23] 40.1% gen-series! [25] 30.2% finalize-iter! [26] 24.2% localize-error [28] 5.5% -------------------------------------------------------------------- simplify-expr [14] 100.0% [19] 1460(8.8%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [24] 84.9% map-enodes [27] 15.1% -------------------------------------------------------------------- get-final-combination [12] 100.0% [20] 200(1.2%) 0(0.0%) extract-alt ...e/ztatlock/herbie/src/glue.rkt:57:0 loop [78] 100.0% -------------------------------------------------------------------- f6 [15] 100.0% [21] 196(1.2%) 196(1.2%) select-handler/no-breaks .../more-scheme.rkt:163:2 -------------------------------------------------------------------- split-table [17] 100.0% [22] 5970(36.1%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [29] 100.0% -------------------------------------------------------------------- run-iter! [18] 100.0% [23] 1458(8.8%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [30] 100.0% -------------------------------------------------------------------- iterate-egraph!5 [19] 100.0% [24] 1240(7.5%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [33] 67.7% loop [35] 16.1% apply-match [41] 16.1% -------------------------------------------------------------------- run-iter! [18] 100.0% [25] 1098(6.6%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [31] 100.0% -------------------------------------------------------------------- run-iter! [18] 100.0% [26] 878(5.3%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [32] 100.0% -------------------------------------------------------------------- iterate-egraph!5 [19] 100.0% [27] 220(1.3%) 0(0.0%) map-enodes ...ock/herbie/src/core/egraph.rkt:139:0 for-loop [34] 100.0% -------------------------------------------------------------------- run-iter! [18] 100.0% [28] 200(1.2%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [74] 100.0% -------------------------------------------------------------------- infer-splitpoints4 [22] 100.0% [29] 5970(36.1%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [37] 92.3% pick-errors [40] 7.7% -------------------------------------------------------------------- simplify! [23] 100.0% [30] 1458(8.8%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [36] 86.4% debug-print [43] 13.6% -------------------------------------------------------------------- gen-series! [25] 100.0% [31] 1098(6.6%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [38] 100.0% -------------------------------------------------------------------- finalize-iter! [26] 100.0% [32] 878(5.3%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [39] 100.0% -------------------------------------------------------------------- for-loop [33] 50.0% one-iter [24] 50.0% [33] 840(5.1%) 200(1.2%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [33] 50.0% match-e [48] 38.1% -------------------------------------------------------------------- map-enodes [27] 100.0% [34] 220(1.3%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:161:2 eval-const-expr [42] 100.0% -------------------------------------------------------------------- one-iter [24] 100.0% [35] 200(1.2%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [41] 100.0% -------------------------------------------------------------------- for-loop [30] 2.5% run [11] 48.7% [36] 16550(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 48.7% run-improve58 [2] 28.4% loop [44] 20.4% simplify [4] 2.5% -------------------------------------------------------------------- option-on-expr [29] 100.0% [37] 5510(33.3%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [45] 100.0% -------------------------------------------------------------------- for-loop [31] 100.0% [38] 1098(6.6%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [46] 100.0% -------------------------------------------------------------------- ??? [32] 100.0% [39] 878(5.3%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [47] 100.0% -------------------------------------------------------------------- option-on-expr [29] 100.0% [40] 460(2.8%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [49] 100.0% -------------------------------------------------------------------- one-iter [24] 50.0% loop [35] 50.0% [41] 400(2.4%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 match-e [48] 50.0% substitute-e [51] 50.0% -------------------------------------------------------------------- for-loop [34] 100.0% [42] 220(1.3%) 0(0.0%) eval-const-expr ...k/herbie/src/programs.rkt:180:0 expression-induct31 [50] 100.0% -------------------------------------------------------------------- for-loop [30] 100.0% [43] 198(1.2%) 0(0.0%) debug-print ...ztatlock/herbie/src/debug.rkt:107:0 for-loop [52] 100.0% -------------------------------------------------------------------- ??? [36] 100.0% [44] 6746(40.8%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [61] 56.3% loop [54] 43.7% -------------------------------------------------------------------- sort-context-on-expr [37] 100.0% [45] 5510(33.3%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [53] 69.5% loop [62] 30.5% -------------------------------------------------------------------- taylor-alt [38] 100.0% [46] 1098(6.6%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [55] 100.0% -------------------------------------------------------------------- for-loop [39] 100.0% [47] 878(5.3%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [56] 100.0% -------------------------------------------------------------------- for-loop [59] 11.9% apply-match [41] 23.8% for-loop [33] 64.3% [48] 840(5.1%) 640(3.9%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [58] 23.8% for-loop [59] 11.9% -------------------------------------------------------------------- pick-errors [40] 100.0% [49] 460(2.8%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [73] 100.0% -------------------------------------------------------------------- eval-const-expr [42] 100.0% [50] 220(1.3%) 0(0.0%) expression-induct31 ...erbie/src/programs.rkt:55:0 inductor [57] 100.0% -------------------------------------------------------------------- apply-match [41] 100.0% [51] 200(1.2%) 200(1.2%) substitute-e ...ck/herbie/src/core/ematch.rkt:71:0 -------------------------------------------------------------------- debug-print [43] 100.0% [52] 198(1.2%) 0(0.0%) for-loop /home/ztatlock/herbie/src/debug.rkt:113:2 write-proc [60] 100.0% -------------------------------------------------------------------- sort [45] 46.1% copying-mergesort [53] 53.9% [53] 3832(23.2%) 220(1.3%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [53] 53.9% loop [62] 35.0% jloop [3] 9.7% -------------------------------------------------------------------- loop [44] 100.0% [54] 2946(17.8%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [63] 50.3% make-exacts* [61] 42.8% eval-prog [73] 6.9% -------------------------------------------------------------------- location-do [55] 32.4% for-loop [46] 67.6% [55] 1098(6.6%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [64] 67.6% location-do [55] 32.4% -------------------------------------------------------------------- atab-add-altn [47] 100.0% [56] 878(5.3%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [65] 74.7% for-loop [66] 25.3% -------------------------------------------------------------------- inductor [57] 50.0% expression-induct31 [50] 50.0% [57] 220(1.3%) 0(0.0%) inductor .../ztatlock/herbie/src/programs.rkt:73:2 inductor [57] 50.0% integer->bigfloat [67] 50.0% -------------------------------------------------------------------- match-e [48] 100.0% [58] 200(1.2%) 200(1.2%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 -------------------------------------------------------------------- match-e [48] 100.0% [59] 200(1.2%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [48] 100.0% -------------------------------------------------------------------- for-loop [52] 100.0% [60] 198(1.2%) 198(1.2%) write-proc ...lock/herbie/src/alternative.rkt:22:9 -------------------------------------------------------------------- loop [54] 24.9% loop [44] 75.1% [61] 5060(30.6%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 loop [78] 51.2% map [69] 48.8% -------------------------------------------------------------------- sort [45] 44.1% copying-mergesort [53] 55.9% [62] 3806(23.0%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [68] 100.0% -------------------------------------------------------------------- loop [54] 100.0% [63] 1482(9.0%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [69] 100.0% -------------------------------------------------------------------- location-do [55] 100.0% [64] 1098(6.6%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [70] 100.0% -------------------------------------------------------------------- best-and-tied-at-points [56] 100.0% [65] 656(4.0%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [71] 100.0% -------------------------------------------------------------------- best-and-tied-at-points [56] 100.0% [66] 222(1.3%) 0(0.0%) for-loop ...k/herbie/src/core/alt-table.rkt:124:16 ??? [72] 100.0% -------------------------------------------------------------------- inductor [57] 100.0% [67] 220(1.3%) 220(1.3%) integer->bigfloat ...ivate/bigfloat/mpfr.rkt:399:0 -------------------------------------------------------------------- jloop [3] 28.1% loop [62] 71.9% [68] 5290(32.0%) 176(1.1%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [73] 96.7% -------------------------------------------------------------------- f6 [15] 17.8% loop [63] 30.8% make-exacts* [61] 51.4% [69] 4806(29.0%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [78] 82.6% f6 [15] 9.2% parse-loop12 [76] 4.5% ??? [80] 3.8% -------------------------------------------------------------------- approximate9 [64] 100.0% [70] 1098(6.6%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [74] 100.0% -------------------------------------------------------------------- errors [65] 100.0% [71] 656(4.0%) 218(1.3%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [80] 66.8% -------------------------------------------------------------------- for-loop [66] 100.0% [72] 222(1.3%) 222(1.3%) ??? ...ket/collects/racket/private/for.rkt:1150:14 -------------------------------------------------------------------- loop [54] 3.5% for-loop [49] 8.0% ??? [68] 88.5% [73] 5778(34.9%) 5354(32.4%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 parse-app [75] 3.8% hash-ref! [74] 3.5% -------------------------------------------------------------------- eval-prog [73] 2.7% for-loop [16] 3.7% ??? [10] 6.7% localize-error [28] 6.7% ??? [8] 8.6% loop [78] 10.9% ??? [7] 12.7% ??? [5] 24.1% loop [70] 24.1% [74] 1502(9.1%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [5] 24.1% simplify [6] 24.1% ??? [7] 12.7% ??? [8] 12.2% ??? [9] 10.9% parse-loop12 [76] 6.7% f6 [15] 6.7% bigfloat-hash [77] 2.7% -------------------------------------------------------------------- eval-prog [73] 100.0% [75] 220(1.3%) 220(1.3%) parse-app .../collects/racket/private/kw.rkt:903:2 -------------------------------------------------------------------- hash-ref! [74] 18.1% simplify [6] 40.1% map [69] 41.7% [76] 1102(6.7%) 902(5.5%) parse-loop12 ...s/racket/match/compiler.rkt:410:15 loop [78] 18.1% f6 [15] 10.9% -------------------------------------------------------------------- hash-ref! [74] 100.0% [77] 204(1.2%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 sig+exp->bigfloat [79] 100.0% -------------------------------------------------------------------- parse-loop12 [76] 0.1% make-exacts* [61] 0.2% map [69] 0.4% extract-alt [20] 0.7% ??? [9] 2.9% loop [78] 95.7% [78] 6964(42.1%) 482(2.9%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [78] 95.7% hash-ref! [74] 2.9% simplify [4] 0.7% ??? [80] 0.5% ??? [10] 0.1% ->flonum [81] 0.0% -------------------------------------------------------------------- bigfloat-hash [77] 100.0% [79] 204(1.2%) 204(1.2%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 -------------------------------------------------------------------- map [69] 2.9% for-loop [71] 7.0% loop [78] 90.0% [80] 6222(37.6%) 196(1.2%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [82] 75.2% real->bigfloat [83] 17.7% ??? [84] 3.9% -------------------------------------------------------------------- loop [78] 100.0% [81] 476(2.9%) 230(1.4%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [86] 51.7% -------------------------------------------------------------------- ??? [80] 100.0% [82] 4682(28.3%) 240(1.5%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [85] 90.6% ??? [86] 4.2% -------------------------------------------------------------------- ??? [80] 100.0% [83] 1100(6.6%) 1100(6.6%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 -------------------------------------------------------------------- ??? [80] 100.0% [84] 244(1.5%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [89] 100.0% -------------------------------------------------------------------- ??? [82] 100.0% [85] 4244(25.6%) 2870(17.3%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bflog [87] 16.9% bfdiv [88] 10.7% ??? [89] 4.7% -------------------------------------------------------------------- ??? [82] 44.6% ->flonum [81] 55.4% [86] 444(2.7%) 444(2.7%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 -------------------------------------------------------------------- ??? [85] 100.0% [87] 718(4.3%) 482(2.9%) bflog ...-lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [90] 32.9% -------------------------------------------------------------------- ??? [85] 100.0% [88] 456(2.8%) 222(1.3%) bfdiv ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [90] 51.3% -------------------------------------------------------------------- ??? [85] 45.0% ??? [84] 55.0% [89] 444(2.7%) 200(1.2%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [91] 55.0% -------------------------------------------------------------------- bfdiv [88] 49.8% bflog [87] 50.2% [90] 470(2.8%) 470(2.8%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 -------------------------------------------------------------------- ??? [89] 100.0% [91] 244(1.5%) 0(0.0%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [92] 100.0% -------------------------------------------------------------------- ??? [91] 100.0% [92] 244(1.5%) 244(1.5%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 --------------------------------------------------------------------