Profiling results ----------------- Total cpu time observed: 19598ms (out of 20040ms) Number of samples taken: 76 (once every 258ms) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [15] 100.0% [1] 18950(96.7%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [8] 100.0% ---------------------------------------------------------------------- ??? [15] 100.0% [2] 902(4.6%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [10] 100.0% ---------------------------------------------------------------------- copying-mergesort [61] 100.0% [3] 884(4.5%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [9] 100.0% ---------------------------------------------------------------------- hash-ref! [70] 100.0% [4] 642(3.3%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:285:26 for-loop [11] 100.0% ---------------------------------------------------------------------- hash-ref! [70] 100.0% [5] 442(2.3%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:295:23 for-loop [12] 100.0% ---------------------------------------------------------------------- match-e [36] 100.0% [6] 222(1.1%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 for-loop [13] 100.0% ---------------------------------------------------------------------- hash-ref! [70] 100.0% [7] 200(1.0%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:392:23 for-loop [14] 100.0% ---------------------------------------------------------------------- profile-thunk14 [1] 100.0% [8] 18950(96.7%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [15] 100.0% ---------------------------------------------------------------------- loop [65] 32.2% jloop [3] 67.8% [9] 1304(6.7%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [33] 100.0% ---------------------------------------------------------------------- simplify [2] 100.0% [10] 902(4.6%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [16] 100.0% ---------------------------------------------------------------------- ??? [4] 100.0% [11] 642(3.3%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:285:52 hash-ref! [70] 100.0% ---------------------------------------------------------------------- ??? [5] 100.0% [12] 442(2.3%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:298:27 hash-ref! [70] 100.0% ---------------------------------------------------------------------- for-loop [6] 100.0% [13] 222(1.1%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [36] 100.0% ---------------------------------------------------------------------- ??? [7] 100.0% [14] 200(1.0%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:396:33 for-loop [17] 100.0% ---------------------------------------------------------------------- for-loop [43] 1.7% run [8] 47.8% [15] 19598(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 47.8% loop [20] 40.0% run-improve58 [18] 10.5% simplify [2] 1.7% ---------------------------------------------------------------------- simplify-expr [10] 100.0% [16] 902(4.6%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [19] 100.0% ---------------------------------------------------------------------- for-loop [14] 100.0% [17] 200(1.0%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:398:39 hash-ref! [70] 100.0% ---------------------------------------------------------------------- ??? [15] 100.0% [18] 4124(21.0%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [21] 42.2% for-loop [22] 41.8% loop [20] 10.1% finalize-table! [25] 5.9% ---------------------------------------------------------------------- iterate-egraph!5 [16] 100.0% [19] 902(4.6%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [23] 53.2% loop [24] 46.8% ---------------------------------------------------------------------- run-improve58 [18] 2.6% ??? [15] 97.4% [20] 15890(81.1%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [26] 45.8% make-exacts* [31] 42.4% loop [32] 11.8% ---------------------------------------------------------------------- run-improve58 [18] 100.0% [21] 1742(8.9%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [27] 100.0% ---------------------------------------------------------------------- run-improve58 [18] 100.0% [22] 1724(8.8%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [28] 100.0% ---------------------------------------------------------------------- for-loop [23] 50.0% one-iter [19] 50.0% [23] 480(2.4%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [23] 50.0% match-e [36] 50.0% ---------------------------------------------------------------------- one-iter [19] 100.0% [24] 422(2.2%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [29] 100.0% ---------------------------------------------------------------------- run-improve58 [18] 100.0% [25] 242(1.2%) 0(0.0%) finalize-table! ...k/herbie/src/mainloop.rkt:264:0 post-process [30] 100.0% ---------------------------------------------------------------------- loop [20] 100.0% [26] 7284(37.2%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [32] 45.8% make-exacts* [31] 42.8% eval-prog [33] 11.4% ---------------------------------------------------------------------- get-final-combination [21] 100.0% [27] 1742(8.9%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [34] 100.0% ---------------------------------------------------------------------- for-loop [22] 100.0% [28] 1724(8.8%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [35] 52.3% finalize-iter! [37] 24.5% gen-series! [38] 23.2% ---------------------------------------------------------------------- loop [24] 100.0% [29] 422(2.2%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 match-e [36] 52.6% mk-enode! [40] 47.4% ---------------------------------------------------------------------- finalize-table! [25] 100.0% [30] 242(1.2%) 0(0.0%) post-process .../ztatlock/herbie/src/glue.rkt:95:0 for-loop [39] 100.0% ---------------------------------------------------------------------- loop [26] 31.6% loop [20] 68.4% [31] 9854(50.3%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [41] 67.8% loop [80] 32.2% ---------------------------------------------------------------------- loop [20] 35.9% loop [26] 64.1% [32] 5206(26.6%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [41] 100.0% ---------------------------------------------------------------------- loop [26] 38.9% ??? [9] 61.1% [33] 2134(10.9%) 1104(5.6%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [70] 37.2% inductor [47] 11.1% ---------------------------------------------------------------------- split-table [27] 100.0% [34] 1742(8.9%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [42] 87.4% exprs-to-branch-on [48] 12.6% ---------------------------------------------------------------------- run-iter! [28] 100.0% [35] 902(4.6%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [43] 100.0% ---------------------------------------------------------------------- apply-match [29] 10.5% for-loop [13] 21.1% for-loop [23] 68.4% [36] 702(3.6%) 702(3.6%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [6] 21.1% ---------------------------------------------------------------------- run-iter! [28] 100.0% [37] 422(2.2%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [44] 100.0% ---------------------------------------------------------------------- run-iter! [28] 100.0% [38] 400(2.0%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [45] 100.0% ---------------------------------------------------------------------- post-process [30] 100.0% [39] 242(1.2%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:119:17 append-map [46] 100.0% ---------------------------------------------------------------------- apply-match [29] 100.0% [40] 200(1.0%) 200(1.0%) mk-enode! ...lock/herbie/src/core/egraph.rkt:101:0 ---------------------------------------------------------------------- loop [32] 43.8% make-exacts* [31] 56.2% [41] 11884(60.6%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [80] 100.0% ---------------------------------------------------------------------- infer-splitpoints4 [34] 100.0% [42] 1522(7.8%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [49] 85.7% pick-errors [54] 14.3% ---------------------------------------------------------------------- simplify! [35] 100.0% [43] 902(4.6%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [15] 100.0% ---------------------------------------------------------------------- finalize-iter! [37] 100.0% [44] 422(2.2%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [52] 52.6% atab-add-altns [55] 47.4% ---------------------------------------------------------------------- gen-series! [38] 100.0% [45] 400(2.0%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [50] 100.0% ---------------------------------------------------------------------- for-loop [39] 100.0% [46] 242(1.2%) 0(0.0%) append-map ...acket/collects/racket/list.rkt:565:2 taylor-alt [50] 100.0% ---------------------------------------------------------------------- eval-prog [33] 33.3% inductor [47] 66.7% [47] 236(1.2%) 0(0.0%) inductor .../ztatlock/herbie/src/programs.rkt:73:2 inductor [47] 66.7% integer->bigfloat [51] 33.3% ---------------------------------------------------------------------- infer-splitpoints4 [34] 100.0% [48] 220(1.1%) 0(0.0%) exprs-to-branch-on ...ie/src/core/regimes.rkt:41:0 critical-subexpression [53] 100.0% ---------------------------------------------------------------------- option-on-expr [42] 100.0% [49] 1304(6.7%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [56] 100.0% ---------------------------------------------------------------------- append-map [46] 37.7% for-loop [45] 62.3% [50] 642(3.3%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [57] 100.0% ---------------------------------------------------------------------- inductor [47] 100.0% [51] 236(1.2%) 236(1.2%) integer->bigfloat ...ivate/bigfloat/mpfr.rkt:399:0 ---------------------------------------------------------------------- ??? [44] 100.0% [52] 222(1.1%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [58] 100.0% ---------------------------------------------------------------------- exprs-to-branch-on [48] 100.0% [53] 220(1.1%) 0(0.0%) critical-subexpression ...rc/core/regimes.rkt:49:0 localize-error [59] 100.0% ---------------------------------------------------------------------- option-on-expr [42] 100.0% [54] 218(1.1%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [60] 100.0% ---------------------------------------------------------------------- ??? [44] 100.0% [55] 200(1.0%) 0(0.0%) atab-add-altns ...rbie/src/core/alt-table.rkt:50:0 atab-add-altn [58] 100.0% ---------------------------------------------------------------------- sort-context-on-expr [49] 100.0% [56] 1304(6.7%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [61] 83.1% loop [65] 16.9% ---------------------------------------------------------------------- taylor-alt [50] 100.0% [57] 642(3.3%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [62] 100.0% ---------------------------------------------------------------------- atab-add-altns [55] 47.4% for-loop [52] 52.6% [58] 422(2.2%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [63] 100.0% ---------------------------------------------------------------------- critical-subexpression [53] 100.0% [59] 220(1.1%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [70] 100.0% ---------------------------------------------------------------------- pick-errors [54] 100.0% [60] 218(1.1%) 218(1.1%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 ---------------------------------------------------------------------- sort [56] 38.8% copying-mergesort [61] 61.2% [61] 1084(5.5%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [61] 61.2% jloop [3] 20.4% loop [65] 18.5% ---------------------------------------------------------------------- for-loop [57] 100.0% [62] 642(3.3%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [64] 100.0% ---------------------------------------------------------------------- atab-add-altn [58] 100.0% [63] 422(2.2%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 for-loop [66] 52.6% errors [67] 47.4% ---------------------------------------------------------------------- location-do [62] 100.0% [64] 642(3.3%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [68] 100.0% ---------------------------------------------------------------------- copying-mergesort [61] 47.6% sort [56] 52.4% [65] 420(2.1%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [9] 100.0% ---------------------------------------------------------------------- best-and-tied-at-points [63] 100.0% [66] 222(1.1%) 222(1.1%) for-loop ...k/herbie/src/core/alt-table.rkt:124:16 ---------------------------------------------------------------------- best-and-tied-at-points [63] 100.0% [67] 200(1.0%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [69] 100.0% ---------------------------------------------------------------------- approximate9 [64] 100.0% [68] 642(3.3%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [70] 100.0% ---------------------------------------------------------------------- errors [67] 100.0% [69] 200(1.0%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ->flonum [82] 100.0% ---------------------------------------------------------------------- for-loop [17] 2.4% for-loop [12] 6.1% for-loop [11] 10.1% ??? [71] 10.1% loop [68] 10.1% localize-error [59] 13.3% loop [80] 21.8% eval-prog [33] 26.1% [70] 1656(8.4%) 200(1.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [74] 21.8% bigfloat-hash [73] 14.0% parse-loop50 [75] 13.3% ??? [71] 10.1% ??? [4] 10.1% simplify [72] 10.1% ??? [5] 6.1% ??? [7] 2.4% ---------------------------------------------------------------------- hash-ref! [70] 100.0% [71] 642(3.3%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [70] 100.0% ---------------------------------------------------------------------- hash-ref! [70] 100.0% [72] 642(3.3%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 f37 [77] 37.7% simplify* [78] 31.2% parse-loop50 [75] 31.2% ---------------------------------------------------------------------- hash-ref! [70] 100.0% [73] 594(3.0%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 bfcanonicalize [76] 67.0% sig+exp->bigfloat [79] 33.0% ---------------------------------------------------------------------- hash-ref! [70] 100.0% [74] 594(3.0%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [80] 100.0% ---------------------------------------------------------------------- simplify [72] 11.9% parse-loop50 [75] 35.7% hash-ref! [70] 52.4% [75] 420(2.1%) 200(1.0%) parse-loop50 ...s/racket/match/compiler.rkt:410:15 loop [80] 52.4% parse-loop50 [75] 35.7% ---------------------------------------------------------------------- bigfloat-hash [73] 100.0% [76] 398(2.0%) 398(2.0%) bfcanonicalize .../private/bigfloat/mpfr.rkt:155:0 ---------------------------------------------------------------------- simplify [72] 100.0% [77] 242(1.2%) 242(1.2%) f37 ...t/collects/racket/match/compiler.rkt:499:40 ---------------------------------------------------------------------- simplify [72] 100.0% [78] 200(1.0%) 200(1.0%) simplify* ...tlock/herbie/src/core/reduce.rkt:23:0 ---------------------------------------------------------------------- bigfloat-hash [73] 100.0% [79] 196(1.0%) 196(1.0%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 ---------------------------------------------------------------------- parse-loop50 [75] 0.0% make-exacts* [31] 0.2% map [41] 2.6% ??? [74] 3.7% loop [80] 93.4% [80] 15874(81.0%) 220(1.1%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [80] 93.4% hash-ref! [70] 3.7% ??? [81] 2.8% ->flonum [82] 0.0% ---------------------------------------------------------------------- loop [80] 100.0% [81] 14528(74.1%) 432(2.2%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [83] 70.6% real->bigfloat [84] 19.7% ??? [91] 6.7% ---------------------------------------------------------------------- for-loop [69] 27.3% loop [80] 72.7% [82] 732(3.7%) 200(1.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [93] 72.7% ---------------------------------------------------------------------- ??? [81] 100.0% [83] 10260(52.4%) 0(0.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [88] 46.5% bf* [85] 25.9% ...higher-order.rkt:369:33 [86] 21.2% ...higher-order.rkt:373:33 [87] 6.4% ---------------------------------------------------------------------- ??? [81] 100.0% [84] 2862(14.6%) 2862(14.6%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ---------------------------------------------------------------------- ??? [83] 100.0% [85] 2654(13.5%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [88] 100.0% ---------------------------------------------------------------------- ??? [83] 100.0% [86] 2180(11.1%) 0(0.0%) ...higher-order.rkt:369:33 (unknown source) ??? [89] 66.0% ??? [91] 34.0% ---------------------------------------------------------------------- ??? [83] 100.0% [87] 654(3.3%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [89] 100.0% ---------------------------------------------------------------------- bf* [85] 35.7% ??? [83] 64.3% [88] 7426(37.9%) 544(2.8%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfmul [90] 78.9% bfsqr [92] 7.0% ??? [93] 6.8% ---------------------------------------------------------------------- ...higher-order.rkt:373:33 [87] 31.3% ...higher-order.rkt:369:33 [86] 68.7% [89] 2092(10.7%) 248(1.3%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [91] 88.1% ---------------------------------------------------------------------- ??? [88] 100.0% [90] 5860(29.9%) 4148(21.2%) bfmul ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [94] 29.2% ---------------------------------------------------------------------- ...higher-order.rkt:369:33 [86] 20.8% ??? [81] 27.4% ??? [89] 51.8% [91] 3560(18.2%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [93] 100.0% ---------------------------------------------------------------------- ??? [88] 100.0% [92] 520(2.7%) 264(1.3%) bfsqr ...-lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [94] 49.2% ---------------------------------------------------------------------- ??? [88] 10.9% ->flonum [82] 11.6% ??? [91] 77.5% [93] 4594(23.4%) 2138(10.9%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [95] 36.9% ??? [96] 16.6% ---------------------------------------------------------------------- bfsqr [92] 13.0% bfmul [90] 87.0% [94] 1968(10.0%) 1968(10.0%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- ??? [93] 100.0% [95] 1694(8.6%) 700(3.6%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [97] 58.7% ---------------------------------------------------------------------- ??? [93] 100.0% [96] 762(3.9%) 762(3.9%) ??? ...ects/racket/contract/private/prop.rkt:489:4 ---------------------------------------------------------------------- ??? [95] 100.0% [97] 994(5.1%) 994(5.1%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ----------------------------------------------------------------------