Profiling results ----------------- Total cpu time observed: 12690ms (out of 12996ms) Number of samples taken: 55 (once every 231ms) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [8] 100.0% [1] 12484(98.4%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [5] 100.0% ---------------------------------------------------------------------- hash-ref! [77] 100.0% [2] 222(1.7%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 parse-loop12 [9] 100.0% ---------------------------------------------------------------------- hash-ref! [77] 100.0% [3] 222(1.7%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:483:23 for-loop [7] 100.0% ---------------------------------------------------------------------- hash-ref! [77] 100.0% [4] 222(1.7%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:295:23 for-loop [6] 100.0% ---------------------------------------------------------------------- profile-thunk14 [1] 100.0% [5] 12484(98.4%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [8] 100.0% ---------------------------------------------------------------------- ??? [4] 100.0% [6] 222(1.7%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:298:27 hash-ref! [77] 100.0% ---------------------------------------------------------------------- ??? [3] 100.0% [7] 222(1.7%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:487:35 parse-loop12 [9] 100.0% ---------------------------------------------------------------------- for-loop [32] 1.6% run [5] 48.4% [8] 12690(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 48.4% loop [10] 38.1% run-improve58 [11] 11.9% simplify [12] 1.6% ---------------------------------------------------------------------- simplify [2] 26.1% for-loop [7] 26.1% hash-ref! [77] 47.9% [9] 426(3.4%) 222(1.7%) parse-loop12 ...s/racket/match/compiler.rkt:410:15 for-loop [13] 26.1% loop [70] 23.9% loop [14] 23.9% ---------------------------------------------------------------------- ??? [8] 100.0% [10] 9460(74.5%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [15] 42.1% make-exacts* [19] 40.9% loop [20] 17.1% ---------------------------------------------------------------------- ??? [8] 100.0% [11] 3230(25.5%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 for-loop [16] 50.9% get-final-combination [17] 49.1% ---------------------------------------------------------------------- ??? [8] 100.0% [12] 594(4.7%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [18] 66.7% iterate-egraph!5 [23] 33.3% ---------------------------------------------------------------------- parse-loop12 [9] 100.0% [13] 222(1.7%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:490:59 hash-ref! [77] 100.0% ---------------------------------------------------------------------- parse-loop12 [9] 1.2% loop [14] 98.8% [14] 204(1.6%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:37:19 loop [14] 98.8% ->flonum [73] 1.2% ---------------------------------------------------------------------- loop [10] 100.0% [15] 3980(31.4%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [20] 54.2% make-exacts* [19] 45.8% ---------------------------------------------------------------------- run-improve58 [11] 100.0% [16] 1644(13.0%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [21] 100.0% ---------------------------------------------------------------------- run-improve58 [11] 100.0% [17] 1586(12.5%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [22] 100.0% ---------------------------------------------------------------------- simplify [12] 100.0% [18] 396(3.1%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [23] 100.0% ---------------------------------------------------------------------- loop [15] 32.0% loop [10] 68.0% [19] 5688(44.8%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 loop [70] 59.1% map [66] 37.0% eval-prog [67] 3.9% ---------------------------------------------------------------------- loop [10] 42.8% loop [15] 57.2% [20] 3772(29.7%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [66] 100.0% ---------------------------------------------------------------------- for-loop [16] 100.0% [21] 1644(13.0%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [26] 36.1% finalize-iter! [27] 24.6% gen-series! [28] 13.5% gen-rewrites! [29] 13.4% localize-error [30] 12.4% ---------------------------------------------------------------------- get-final-combination [17] 100.0% [22] 1586(12.5%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [24] 100.0% ---------------------------------------------------------------------- simplify [12] 33.3% simplify-expr [18] 66.7% [23] 594(4.7%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [25] 100.0% ---------------------------------------------------------------------- split-table [22] 100.0% [24] 1586(12.5%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [31] 100.0% ---------------------------------------------------------------------- iterate-egraph!5 [23] 100.0% [25] 594(4.7%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [34] 67.0% loop [37] 33.0% ---------------------------------------------------------------------- run-iter! [21] 100.0% [26] 594(4.7%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [32] 100.0% ---------------------------------------------------------------------- run-iter! [21] 100.0% [27] 404(3.2%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [33] 100.0% ---------------------------------------------------------------------- run-iter! [21] 100.0% [28] 222(1.7%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [35] 100.0% ---------------------------------------------------------------------- run-iter! [21] 100.0% [29] 220(1.7%) 0(0.0%) gen-rewrites! ...ock/herbie/src/mainloop.rkt:148:0 for-loop [36] 100.0% ---------------------------------------------------------------------- run-iter! [21] 100.0% [30] 204(1.6%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [77] 100.0% ---------------------------------------------------------------------- infer-splitpoints4 [24] 100.0% [31] 1586(12.5%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [38] 84.9% pick-errors [40] 15.1% ---------------------------------------------------------------------- simplify! [26] 100.0% [32] 594(4.7%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [8] 100.0% ---------------------------------------------------------------------- finalize-iter! [27] 100.0% [33] 404(3.2%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [39] 100.0% ---------------------------------------------------------------------- for-loop [34] 25.1% one-iter [25] 74.9% [34] 398(3.1%) 198(1.6%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [34] 25.1% match-e [43] 25.1% ---------------------------------------------------------------------- gen-series! [28] 100.0% [35] 222(1.7%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [41] 100.0% ---------------------------------------------------------------------- gen-rewrites! [29] 100.0% [36] 220(1.7%) 0(0.0%) for-loop ...tatlock/herbie/src/mainloop.rkt:153:11 ??? [42] 100.0% ---------------------------------------------------------------------- one-iter [25] 100.0% [37] 196(1.5%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [44] 100.0% ---------------------------------------------------------------------- option-on-expr [31] 100.0% [38] 1346(10.6%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [45] 100.0% ---------------------------------------------------------------------- ??? [33] 100.0% [39] 404(3.2%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [46] 100.0% ---------------------------------------------------------------------- option-on-expr [31] 100.0% [40] 240(1.9%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [47] 100.0% ---------------------------------------------------------------------- for-loop [35] 100.0% [41] 222(1.7%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [48] 100.0% ---------------------------------------------------------------------- for-loop [36] 100.0% [42] 220(1.7%) 0(0.0%) ??? /home/ztatlock/herbie/src/alternative.rkt:90:0 rewriter [49] 100.0% ---------------------------------------------------------------------- for-loop [34] 100.0% [43] 200(1.6%) 0(0.0%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [50] 100.0% ---------------------------------------------------------------------- loop [37] 100.0% [44] 196(1.5%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 substitute-e [51] 100.0% ---------------------------------------------------------------------- sort-context-on-expr [38] 100.0% [45] 1346(10.6%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [52] 67.2% loop [58] 32.8% ---------------------------------------------------------------------- for-loop [39] 100.0% [46] 404(3.2%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [55] 50.0% override-at-pnts [56] 50.0% ---------------------------------------------------------------------- pick-errors [40] 100.0% [47] 240(1.9%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [67] 100.0% ---------------------------------------------------------------------- taylor-alt [41] 100.0% [48] 222(1.7%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [53] 100.0% ---------------------------------------------------------------------- ??? [42] 100.0% [49] 220(1.7%) 0(0.0%) rewriter ...lock/herbie/src/core/matcher.rkt:123:2 for-loop [54] 100.0% ---------------------------------------------------------------------- match-e [43] 100.0% [50] 200(1.6%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 list-cartesian-product [57] 100.0% ---------------------------------------------------------------------- apply-match [44] 100.0% [51] 196(1.5%) 196(1.5%) substitute-e ...ck/herbie/src/core/ematch.rkt:71:0 ---------------------------------------------------------------------- sort [45] 37.4% copying-mergesort [52] 62.6% [52] 904(7.1%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [52] 62.6% loop [58] 24.8% jloop [59] 12.6% ---------------------------------------------------------------------- for-loop [48] 100.0% [53] 222(1.7%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [61] 100.0% ---------------------------------------------------------------------- rewriter [49] 100.0% [54] 220(1.7%) 0(0.0%) for-loop ...ock/herbie/src/core/matcher.rkt:126:10 matcher [62] 100.0% ---------------------------------------------------------------------- atab-add-altn [46] 100.0% [55] 202(1.6%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [60] 100.0% ---------------------------------------------------------------------- atab-add-altn [46] 100.0% [56] 202(1.6%) 0(0.0%) override-at-pnts ...e/src/core/alt-table.rkt:145:0 errors [60] 100.0% ---------------------------------------------------------------------- for-loop [50] 100.0% [57] 200(1.6%) 200(1.6%) list-cartesian-product ...src/core/ematch.rkt:20:0 ---------------------------------------------------------------------- sort [45] 49.7% copying-mergesort [52] 50.3% [58] 890(7.0%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [63] 100.0% ---------------------------------------------------------------------- copying-mergesort [52] 100.0% [59] 456(3.6%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [63] 100.0% ---------------------------------------------------------------------- override-at-pnts [56] 50.0% best-and-tied-at-points [55] 50.0% [60] 404(3.2%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [65] 100.0% ---------------------------------------------------------------------- location-do [53] 100.0% [61] 222(1.7%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 f6 [64] 100.0% ---------------------------------------------------------------------- for-loop [54] 100.0% [62] 220(1.7%) 220(1.7%) matcher ...tlock/herbie/src/core/matcher.rkt:159:2 ---------------------------------------------------------------------- jloop [59] 33.9% loop [58] 66.1% [63] 1346(10.6%) 220(1.7%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [67] 83.7% ---------------------------------------------------------------------- f6 [64] 26.1% approximate9 [61] 26.1% hash-ref! [77] 47.9% [64] 426(3.4%) 0(0.0%) f6 ...et/collects/racket/match/compiler.rkt:499:40 map [66] 47.9% f6 [64] 26.1% loop [68] 26.1% ---------------------------------------------------------------------- errors [60] 100.0% [65] 404(3.2%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [69] 50.0% ??? [72] 50.0% ---------------------------------------------------------------------- f6 [64] 3.4% make-exacts* [19] 34.6% loop [20] 62.1% [66] 6078(47.9%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [70] 96.6% ??? [74] 3.4% ---------------------------------------------------------------------- make-exacts* [19] 14.0% for-loop [47] 15.1% ??? [63] 70.9% [67] 1588(12.5%) 1370(10.8%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 parse-lambda [71] 13.7% ---------------------------------------------------------------------- f6 [64] 100.0% [68] 222(1.7%) 0(0.0%) loop .../ztatlock/herbie/src/core/taylor.rkt:262:2 hash-ref! [77] 100.0% ---------------------------------------------------------------------- for-loop [65] 100.0% [69] 202(1.6%) 202(1.6%) ??? ...ket/collects/racket/private/for.rkt:1150:14 ---------------------------------------------------------------------- make-exacts* [19] 0.1% map [66] 1.5% parse-loop12 [9] 2.2% loop [70] 96.2% [70] 9442(74.4%) 420(3.3%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [70] 96.2% ??? [74] 2.2% ??? [72] 1.5% ->flonum [73] 0.0% ---------------------------------------------------------------------- eval-prog [67] 100.0% [71] 218(1.7%) 218(1.7%) parse-lambda ...llects/racket/private/kw.rkt:393:2 ---------------------------------------------------------------------- for-loop [65] 2.3% loop [70] 97.7% [72] 8780(69.2%) 230(1.8%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [75] 72.8% real->bigfloat [76] 22.1% ??? [83] 2.5% ---------------------------------------------------------------------- loop [14] 45.9% loop [70] 54.1% [73] 444(3.5%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [79] 54.1% ??? [86] 45.9% ---------------------------------------------------------------------- map [66] 50.0% loop [70] 50.0% [74] 204(1.6%) 0(0.0%) ??? ...ket/collects/racket/private/list.rkt:323:18 hash-ref! [77] 100.0% ---------------------------------------------------------------------- ??? [72] 100.0% [75] 6396(50.4%) 0(0.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [78] 90.0% ...higher-order.rkt:373:33 [80] 6.8% ??? [79] 3.2% ---------------------------------------------------------------------- ??? [72] 100.0% [76] 1936(15.3%) 1488(11.7%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [85] 23.1% ---------------------------------------------------------------------- localize-error [30] 16.0% for-loop [13] 17.4% for-loop [6] 17.4% loop [68] 17.4% ??? [74] 31.9% [77] 426(3.4%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 parse-loop12 [9] 31.9% ??? [4] 17.4% ??? [3] 17.4% simplify [2] 17.4% f6 [64] 16.0% ---------------------------------------------------------------------- ??? [75] 100.0% [78] 5756(45.4%) 3604(28.4%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bflog [81] 23.9% bfsub [82] 13.5% ---------------------------------------------------------------------- ??? [75] 45.7% ->flonum [73] 54.3% [79] 442(3.5%) 442(3.5%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ---------------------------------------------------------------------- ??? [75] 100.0% [80] 438(3.5%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [84] 54.3% ??? [83] 45.7% ---------------------------------------------------------------------- ??? [78] 100.0% [81] 1376(10.8%) 700(5.5%) bflog ...-lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [85] 49.1% ---------------------------------------------------------------------- ??? [78] 100.0% [82] 776(6.1%) 776(6.1%) bfsub ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ---------------------------------------------------------------------- ...higher-order.rkt:373:33 [80] 47.8% ??? [72] 52.2% [83] 418(3.3%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [86] 100.0% ---------------------------------------------------------------------- ...higher-order.rkt:373:33 [80]100.0% [84] 238(1.9%) 238(1.9%) ??? ...cts/racket/contract/private/list.rkt:187:10 ---------------------------------------------------------------------- real->bigfloat [76] 39.9% bflog [81] 60.1% [85] 1124(8.9%) 1124(8.9%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- ->flonum [73] 32.8% ??? [83] 67.2% [86] 622(4.9%) 418(3.3%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [87] 32.8% ---------------------------------------------------------------------- ??? [86] 100.0% [87] 204(1.6%) 204(1.6%) ??? ...llects/racket/contract/combinator.rkt:178:4 ----------------------------------------------------------------------