Profiling results ----------------- Total cpu time observed: 13624ms (out of 13832ms) Number of samples taken: 56 (once every 243ms) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [33] 100.0% [1] 13222(97.0%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [6] 100.0% ---------------------------------------------------------------------- ??? [33] 100.0% [2] 6436(47.2%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 for-loop [7] 70.5% get-final-combination [9] 26.0% setup-prog [11] 3.5% ---------------------------------------------------------------------- simplify-alt [17] 5.5% ??? [33] 94.5% [3] 4102(30.1%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [8] 44.5% iterate-egraph!5 [15] 36.1% for-loop [10] 19.4% ---------------------------------------------------------------------- location-do [52] 100.0% [4] 222(1.6%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [12] 100.0% ---------------------------------------------------------------------- hash-ref! [18] 100.0% [5] 222(1.6%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:295:23 for-loop [13] 100.0% ---------------------------------------------------------------------- profile-thunk14 [1] 100.0% [6] 13222(97.0%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [33] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [7] 4540(33.3%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [14] 100.0% ---------------------------------------------------------------------- simplify [3] 100.0% [8] 1824(13.4%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [15] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [9] 1672(12.3%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [16] 100.0% ---------------------------------------------------------------------- simplify [3] 100.0% [10] 796(5.8%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [15] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [11] 224(1.6%) 0(0.0%) setup-prog /home/ztatlock/herbie/src/glue.rkt:46:0 simplify-alt [17] 100.0% ---------------------------------------------------------------------- approximate9 [4] 100.0% [12] 222(1.6%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [18] 100.0% ---------------------------------------------------------------------- ??? [5] 100.0% [13] 222(1.6%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:298:27 hash-ref! [18] 100.0% ---------------------------------------------------------------------- for-loop [7] 100.0% [14] 4540(33.3%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [20] 85.4% finalize-iter! [22] 9.7% gen-series! [24] 4.9% ---------------------------------------------------------------------- for-loop [10] 19.4% simplify [3] 36.1% simplify-expr [8] 44.5% [15] 4102(30.1%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [19] 100.0% ---------------------------------------------------------------------- get-final-combination [9] 100.0% [16] 1672(12.3%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [21] 100.0% ---------------------------------------------------------------------- setup-prog [11] 100.0% [17] 224(1.6%) 0(0.0%) simplify-alt .../ztatlock/herbie/src/glue.rkt:84:0 simplify [3] 100.0% ---------------------------------------------------------------------- for-loop [13] 33.3% ??? [25] 33.3% loop [12] 33.3% [18] 222(1.6%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [25] 33.3% ??? [5] 33.3% ??? [23] 33.3% ---------------------------------------------------------------------- iterate-egraph!5 [15] 100.0% [19] 4102(30.1%) 202(1.5%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [27] 74.6% loop [29] 20.4% ---------------------------------------------------------------------- run-iter! [14] 100.0% [20] 3878(28.5%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [26] 100.0% ---------------------------------------------------------------------- split-table [16] 100.0% [21] 1672(12.3%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [28] 100.0% ---------------------------------------------------------------------- run-iter! [14] 100.0% [22] 440(3.2%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [30] 100.0% ---------------------------------------------------------------------- hash-ref! [18] 100.0% [23] 222(1.6%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:322:33 for-loop [31] 100.0% ---------------------------------------------------------------------- run-iter! [14] 100.0% [24] 222(1.6%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [32] 100.0% ---------------------------------------------------------------------- hash-ref! [18] 100.0% [25] 222(1.6%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [18] 100.0% ---------------------------------------------------------------------- simplify! [20] 100.0% [26] 3878(28.5%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [33] 100.0% ---------------------------------------------------------------------- for-loop [27] 50.0% one-iter [19] 50.0% [27] 3062(22.5%) 1228(9.0%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [27] 50.0% match-e [41] 29.9% ---------------------------------------------------------------------- infer-splitpoints4 [21] 100.0% [28] 1672(12.3%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [34] 86.7% pick-errors [38] 13.3% ---------------------------------------------------------------------- one-iter [19] 100.0% [29] 838(6.2%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [35] 100.0% ---------------------------------------------------------------------- finalize-iter! [22] 100.0% [30] 440(3.2%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [36] 100.0% ---------------------------------------------------------------------- ??? [23] 100.0% [31] 222(1.6%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:324:46 simplify [37] 100.0% ---------------------------------------------------------------------- gen-series! [24] 100.0% [32] 222(1.6%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [39] 100.0% ---------------------------------------------------------------------- for-loop [26] 10.0% run [6] 44.3% [33] 13624(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 44.3% loop [40] 26.4% run-improve58 [2] 19.4% simplify [3] 10.0% ---------------------------------------------------------------------- option-on-expr [28] 100.0% [34] 1450(10.6%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [42] 100.0% ---------------------------------------------------------------------- loop [29] 100.0% [35] 838(6.2%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 match-e [41] 50.1% for-loop [44] 49.9% ---------------------------------------------------------------------- ??? [30] 100.0% [36] 440(3.2%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [43] 100.0% ---------------------------------------------------------------------- for-loop [31] 100.0% [37] 222(1.6%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 f37 [45] 100.0% ---------------------------------------------------------------------- option-on-expr [28] 100.0% [38] 222(1.6%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [46] 100.0% ---------------------------------------------------------------------- for-loop [32] 100.0% [39] 222(1.6%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [47] 100.0% ---------------------------------------------------------------------- ??? [33] 100.0% [40] 7188(52.8%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [56] 50.6% loop [48] 36.9% loop [57] 12.5% ---------------------------------------------------------------------- apply-match [35] 9.3% for-loop [59] 18.2% for-loop [27] 72.5% [41] 2254(16.5%) 810(5.9%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [49] 55.1% constant? [54] 9.0% list-cartesian-product [60] 4.4% ---------------------------------------------------------------------- sort-context-on-expr [34] 100.0% [42] 1450(10.6%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [50] 84.8% loop [58] 15.2% ---------------------------------------------------------------------- for-loop [36] 100.0% [43] 440(3.2%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [51] 100.0% ---------------------------------------------------------------------- apply-match [35] 100.0% [44] 418(3.1%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:136:10 mk-enode! [53] 52.6% loop! [55] 47.4% ---------------------------------------------------------------------- simplify [37] 100.0% [45] 222(1.6%) 222(1.6%) f37 ...t/collects/racket/match/compiler.rkt:499:40 ---------------------------------------------------------------------- pick-errors [38] 100.0% [46] 222(1.6%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 ??? [70] 100.0% ---------------------------------------------------------------------- taylor-alt [39] 100.0% [47] 222(1.6%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [52] 100.0% ---------------------------------------------------------------------- loop [40] 100.0% [48] 2652(19.5%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [57] 59.0% make-exacts* [56] 41.0% ---------------------------------------------------------------------- match-e [41] 100.0% [49] 1440(10.6%) 644(4.7%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 for-loop [59] 42.3% list-cartesian-product [60] 20.6% ---------------------------------------------------------------------- copying-mergesort [50] 33.3% sort [42] 66.7% [50] 1230(9.0%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 loop [58] 58.4% copying-mergesort [50] 33.3% jloop [62] 8.4% ---------------------------------------------------------------------- atab-add-altn [43] 100.0% [51] 440(3.2%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [61] 100.0% ---------------------------------------------------------------------- location-do [52] 50.0% for-loop [47] 50.0% [52] 222(1.6%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 location-do [52] 50.0% approximate9 [4] 50.0% ---------------------------------------------------------------------- for-loop [44] 100.0% [53] 220(1.6%) 220(1.6%) mk-enode! ...lock/herbie/src/core/egraph.rkt:101:0 ---------------------------------------------------------------------- match-e [41] 100.0% [54] 202(1.5%) 202(1.5%) constant? ...ck/herbie/src/syntax/syntax.rkt:221:0 ---------------------------------------------------------------------- for-loop [44] 100.0% [55] 198(1.5%) 0(0.0%) loop! .../ztatlock/herbie/src/core/enode.rkt:163:2 custom-set-union [63] 100.0% ---------------------------------------------------------------------- loop [48] 23.0% loop [40] 77.0% [56] 4726(34.7%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 loop [68] 60.3% map [64] 39.7% ---------------------------------------------------------------------- loop [40] 36.4% loop [48] 63.6% [57] 2462(18.1%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [64] 100.0% ---------------------------------------------------------------------- sort [42] 21.2% copying-mergesort [50] 78.8% [58] 1038(7.6%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [65] 100.0% ---------------------------------------------------------------------- for-loop [49] 100.0% [59] 820(6.0%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [41] 100.0% ---------------------------------------------------------------------- list-cartesian-product [60] 16.7% match-e [41] 16.7% for-loop [49] 66.6% [60] 598(4.4%) 598(4.4%) list-cartesian-product ...src/core/ematch.rkt:20:0 list-cartesian-product [60] 16.7% ---------------------------------------------------------------------- best-and-tied-at-points [51] 100.0% [61] 440(3.2%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 eval-prog [69] 54.5% for-loop [66] 45.5% ---------------------------------------------------------------------- copying-mergesort [50] 100.0% [62] 412(3.0%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [65] 100.0% ---------------------------------------------------------------------- loop! [55] 100.0% [63] 198(1.5%) 0(0.0%) custom-set-union ...et/private/set-types.rkt:168:0 for-loop [67] 100.0% ---------------------------------------------------------------------- make-exacts* [56] 43.2% loop [57] 56.8% [64] 4338(31.8%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [68] 100.0% ---------------------------------------------------------------------- jloop [62] 28.4% loop [58] 71.6% [65] 1450(10.6%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [69] 100.0% ---------------------------------------------------------------------- errors [61] 100.0% [66] 200(1.5%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [70] 100.0% ---------------------------------------------------------------------- custom-set-union [63] 100.0% [67] 198(1.5%) 198(1.5%) for-loop ...cts/racket/private/set-types.rkt:174:3 ---------------------------------------------------------------------- make-exacts* [56] 0.1% map [64] 0.7% loop [68] 99.2% [68] 7188(52.8%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [68] 99.2% ??? [70] 0.7% ->flonum [74] 0.1% ---------------------------------------------------------------------- errors [61] 14.2% ??? [65] 85.8% [69] 1690(12.4%) 1480(10.9%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 go [71] 12.4% ---------------------------------------------------------------------- for-loop [66] 2.7% for-loop [46] 3.0% loop [68] 94.3% [70] 7374(54.1%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [72] 57.1% real->bigfloat [73] 36.0% ??? [83] 3.9% ->flonum [74] 3.0% ---------------------------------------------------------------------- eval-prog [69] 100.0% [71] 210(1.5%) 0(0.0%) go .../collects/racket/private/qq-and-or.rkt:50:20 loop [75] 100.0% ---------------------------------------------------------------------- ??? [70] 100.0% [72] 4214(30.9%) 200(1.5%) ??? ...acket/collects/racket/private/kw.rkt:400:14 bf* [76] 61.2% ??? [80] 18.1% ...higher-order.rkt:373:33 [77] 16.0% ---------------------------------------------------------------------- ??? [70] 100.0% [73] 2652(19.5%) 2652(19.5%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ---------------------------------------------------------------------- ??? [70] 48.5% loop [68] 51.5% [74] 458(3.4%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [78] 51.5% ??? [79] 48.5% ---------------------------------------------------------------------- go [71] 100.0% [75] 210(1.5%) 210(1.5%) loop ...llects/racket/private/qq-and-or.rkt:101:61 ---------------------------------------------------------------------- ??? [72] 100.0% [76] 2578(18.9%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [80] 100.0% ---------------------------------------------------------------------- ??? [72] 100.0% [77] 674(4.9%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [81] 67.1% ??? [83] 32.9% ---------------------------------------------------------------------- ->flonum [74] 100.0% [78] 236(1.7%) 236(1.7%) ??? ...-racket/utils/simple-result-arrow.rkt:47:15 ---------------------------------------------------------------------- ->flonum [74] 100.0% [79] 222(1.6%) 222(1.6%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ---------------------------------------------------------------------- ??? [72] 22.8% bf* [76] 77.2% [80] 3340(24.5%) 0(0.0%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfmul [82] 85.5% ??? [84] 14.5% ---------------------------------------------------------------------- ...higher-order.rkt:373:33 [77]100.0% [81] 452(3.3%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [83] 100.0% ---------------------------------------------------------------------- ??? [80] 100.0% [82] 2856(21.0%) 2270(16.7%) bfmul ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [85] 20.5% ---------------------------------------------------------------------- ...higher-order.rkt:373:33 [77] 23.1% ??? [70] 29.8% ??? [81] 47.1% [83] 960(7.0%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [84] 100.0% ---------------------------------------------------------------------- ??? [80] 33.5% ??? [83] 66.5% [84] 1444(10.6%) 678(5.0%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [86] 34.8% ??? [87] 18.3% ---------------------------------------------------------------------- bfmul [82] 100.0% [85] 586(4.3%) 586(4.3%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- ??? [84] 100.0% [86] 502(3.7%) 0(0.0%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [88] 100.0% ---------------------------------------------------------------------- ??? [84] 100.0% [87] 264(1.9%) 0(0.0%) ??? ...ects/racket/contract/private/prop.rkt:489:4 ??? [89] 100.0% ---------------------------------------------------------------------- ??? [86] 100.0% [88] 502(3.7%) 502(3.7%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ---------------------------------------------------------------------- ??? [87] 100.0% [89] 264(1.9%) 264(1.9%) ??? ...lects/racket/contract/private/orc.rkt:73:14 ----------------------------------------------------------------------