Profiling results ----------------- Total cpu time observed: 13790ms (out of 14140ms) Number of samples taken: 60 (once every 230ms) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [5] 100.0% [1] 13790(100.0%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [3] 100.0% ---------------------------------------------------------------------- location-do [57] 100.0% [2] 200(1.5%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [4] 100.0% ---------------------------------------------------------------------- profile-thunk14 [1] 100.0% [3] 13790(100.0%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [5] 100.0% ---------------------------------------------------------------------- approximate9 [2] 100.0% [4] 200(1.5%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [6] 100.0% ---------------------------------------------------------------------- for-loop [33] 1.9% run [3] 49.0% [5] 13790(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 49.0% loop [7] 27.9% run-improve58 [8] 21.2% simplify [9] 1.9% ---------------------------------------------------------------------- ??? [11] 33.3% ??? [12] 33.3% loop [4] 33.3% [6] 200(1.5%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [12] 33.3% ??? [11] 33.3% simplify [10] 33.3% ---------------------------------------------------------------------- ??? [5] 100.0% [7] 7686(55.7%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [19] 62.8% loop [14] 37.2% ---------------------------------------------------------------------- ??? [5] 100.0% [8] 6104(44.3%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [13] 80.2% for-loop [15] 19.8% ---------------------------------------------------------------------- ??? [5] 100.0% [9] 806(5.8%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 for-loop [16] 50.1% simplify-expr [17] 49.9% ---------------------------------------------------------------------- hash-ref! [6] 100.0% [10] 200(1.5%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 parse-loop50 [18] 100.0% ---------------------------------------------------------------------- hash-ref! [6] 100.0% [11] 200(1.5%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [6] 100.0% ---------------------------------------------------------------------- hash-ref! [6] 100.0% [12] 200(1.5%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:63:15 hash-ref! [6] 100.0% ---------------------------------------------------------------------- run-improve58 [8] 100.0% [13] 4896(35.5%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [20] 100.0% ---------------------------------------------------------------------- loop [7] 100.0% [14] 2858(20.7%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [21] 72.0% make-exacts* [19] 28.0% ---------------------------------------------------------------------- run-improve58 [8] 100.0% [15] 1208(8.8%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [22] 100.0% ---------------------------------------------------------------------- simplify [9] 100.0% [16] 404(2.9%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [23] 100.0% ---------------------------------------------------------------------- simplify [9] 100.0% [17] 402(2.9%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [23] 100.0% ---------------------------------------------------------------------- simplify [10] 100.0% [18] 200(1.5%) 200(1.5%) parse-loop50 ...s/racket/match/compiler.rkt:410:15 ---------------------------------------------------------------------- loop [14] 14.2% loop [7] 85.8% [19] 5628(40.8%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 loop [30] 58.1% map [24] 41.9% ---------------------------------------------------------------------- get-final-combination [13] 100.0% [20] 4896(35.5%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [25] 86.5% ??? [32] 13.5% ---------------------------------------------------------------------- loop [14] 100.0% [21] 2058(14.9%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [24] 100.0% ---------------------------------------------------------------------- for-loop [15] 100.0% [22] 1208(8.8%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [27] 66.7% finalize-iter! [28] 16.7% gen-series! [29] 16.6% ---------------------------------------------------------------------- simplify-expr [17] 49.9% for-loop [16] 50.1% [23] 806(5.8%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [26] 100.0% ---------------------------------------------------------------------- loop [21] 46.6% make-exacts* [19] 53.4% [24] 4416(32.0%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [30] 100.0% ---------------------------------------------------------------------- split-table [20] 100.0% [25] 4236(30.7%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [31] 100.0% ---------------------------------------------------------------------- iterate-egraph!5 [23] 100.0% [26] 806(5.8%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [34] 74.9% loop [35] 25.1% ---------------------------------------------------------------------- run-iter! [22] 100.0% [27] 806(5.8%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [33] 100.0% ---------------------------------------------------------------------- run-iter! [22] 100.0% [28] 202(1.5%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [32] 100.0% ---------------------------------------------------------------------- run-iter! [22] 100.0% [29] 200(1.5%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [36] 100.0% ---------------------------------------------------------------------- make-exacts* [19] 0.1% map [24] 0.4% loop [30] 99.5% [30] 7686(55.7%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [30] 99.5% ??? [65] 0.5% ->flonum [69] 0.0% ---------------------------------------------------------------------- infer-splitpoints4 [25] 100.0% [31] 4236(30.7%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [37] 85.6% pick-errors [39] 9.2% err-lsts->split-indices [40] 5.2% ---------------------------------------------------------------------- finalize-iter! [28] 23.4% split-table [20] 76.6% [32] 862(6.3%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 split-atab [38] 76.6% for-loop [42] 23.4% ---------------------------------------------------------------------- simplify! [27] 100.0% [33] 806(5.8%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [5] 100.0% ---------------------------------------------------------------------- for-loop [34] 50.0% one-iter [26] 50.0% [34] 604(4.4%) 402(2.9%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [34] 50.0% match-e [46] 16.7% ---------------------------------------------------------------------- one-iter [26] 100.0% [35] 202(1.5%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [41] 100.0% ---------------------------------------------------------------------- gen-series! [29] 100.0% [36] 200(1.5%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [43] 100.0% ---------------------------------------------------------------------- option-on-expr [31] 100.0% [37] 3626(26.3%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [44] 100.0% ---------------------------------------------------------------------- ??? [32] 100.0% [38] 660(4.8%) 0(0.0%) split-atab ...k/herbie/src/core/alt-table.rkt:74:0 for-loop [45] 100.0% ---------------------------------------------------------------------- option-on-expr [31] 100.0% [39] 390(2.8%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [47] 100.0% ---------------------------------------------------------------------- option-on-expr [31] 100.0% [40] 220(1.6%) 0(0.0%) err-lsts->split-indices .../core/regimes.rkt:224:0 add-splitpoint [48] 100.0% ---------------------------------------------------------------------- loop [35] 100.0% [41] 202(1.5%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 match-e [46] 100.0% ---------------------------------------------------------------------- ??? [32] 100.0% [42] 202(1.5%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [49] 100.0% ---------------------------------------------------------------------- for-loop [36] 100.0% [43] 200(1.5%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [50] 100.0% ---------------------------------------------------------------------- sort-context-on-expr [37] 100.0% [44] 3626(26.3%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [51] 71.3% loop [58] 28.7% ---------------------------------------------------------------------- split-atab [38] 100.0% [45] 660(4.8%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:75:2 for-loop [52] 65.8% for-loop [54] 34.2% ---------------------------------------------------------------------- for-loop [34] 50.0% apply-match [41] 50.0% [46] 404(2.9%) 0(0.0%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [53] 100.0% ---------------------------------------------------------------------- pick-errors [39] 100.0% [47] 390(2.8%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [66] 100.0% ---------------------------------------------------------------------- err-lsts->split-indices [40] 100.0% [48] 220(1.6%) 0(0.0%) add-splitpoint ...erbie/src/core/regimes.rkt:237:2 for-loop [55] 100.0% ---------------------------------------------------------------------- for-loop [42] 100.0% [49] 202(1.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 [43] 100.0% [50] 200(1.5%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [57] 100.0% ---------------------------------------------------------------------- sort [44] 37.1% copying-mergesort [51] 62.9% [51] 2584(18.7%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [51] 62.9% loop [58] 25.5% jloop [59] 11.6% ---------------------------------------------------------------------- for-loop [45] 100.0% [52] 434(3.1%) 0(0.0%) for-loop ...ck/herbie/src/core/alt-table.rkt:86:30 ??? [64] 100.0% ---------------------------------------------------------------------- match-e [46] 100.0% [53] 404(2.9%) 404(2.9%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 ---------------------------------------------------------------------- for-loop [45] 100.0% [54] 226(1.6%) 0(0.0%) for-loop ...ck/herbie/src/core/alt-table.rkt:80:53 loop [60] 100.0% ---------------------------------------------------------------------- add-splitpoint [48] 100.0% [55] 220(1.6%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:239:4 loop [61] 100.0% ---------------------------------------------------------------------- atab-add-altn [49] 100.0% [56] 202(1.5%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [62] 100.0% ---------------------------------------------------------------------- for-loop [50] 33.3% location-do [57] 66.7% [57] 200(1.5%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 location-do [57] 66.7% approximate9 [2] 33.3% ---------------------------------------------------------------------- sort [44] 43.0% copying-mergesort [51] 57.0% [58] 2426(17.6%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [63] 100.0% ---------------------------------------------------------------------- copying-mergesort [51] 100.0% [59] 1200(8.7%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [63] 100.0% ---------------------------------------------------------------------- for-loop [54] 100.0% [60] 226(1.6%) 0(0.0%) loop ...ket/collects/racket/private/list.rkt:264:4 ??? [64] 100.0% ---------------------------------------------------------------------- for-loop [55] 11.1% loop [61] 88.9% [61] 220(1.6%) 220(1.6%) loop ...hare/racket/collects/racket/list.rkt:154:2 loop [61] 88.9% ---------------------------------------------------------------------- best-and-tied-at-points [56] 100.0% [62] 202(1.5%) 202(1.5%) errors /home/ztatlock/herbie/src/points.rkt:144:0 ---------------------------------------------------------------------- jloop [59] 33.1% loop [58] 66.9% [63] 3626(26.3%) 386(2.8%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [66] 83.7% ??? [65] 5.6% ---------------------------------------------------------------------- loop [60] 34.2% for-loop [52] 65.8% [64] 660(4.8%) 0(0.0%) ??? .../ztatlock/herbie/src/core/regimes.rkt:291:8 eval-prog [66] 100.0% ---------------------------------------------------------------------- ??? [63] 2.7% loop [30] 97.3% [65] 7682(55.7%) 494(3.6%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [67] 64.1% real->bigfloat [68] 21.1% ??? [73] 5.7% ->flonum [69] 2.7% ---------------------------------------------------------------------- for-loop [47] 9.5% ??? [64] 16.2% ??? [63] 74.3% [66] 4086(29.6%) 4086(29.6%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 ---------------------------------------------------------------------- ??? [65] 100.0% [67] 4924(35.7%) 214(1.6%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [70] 91.6% ...higher-order.rkt:373:33 [71] 4.0% ---------------------------------------------------------------------- ??? [65] 100.0% [68] 1624(11.8%) 1624(11.8%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ---------------------------------------------------------------------- ??? [65] 49.5% loop [30] 50.5% [69] 412(3.0%) 204(1.5%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [75] 50.5% ---------------------------------------------------------------------- ??? [67] 100.0% [70] 4512(32.7%) 2076(15.1%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bflog [72] 39.1% ??? [75] 9.7% bfadd [74] 5.3% ---------------------------------------------------------------------- ??? [67] 100.0% [71] 198(1.4%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [73] 100.0% ---------------------------------------------------------------------- ??? [70] 100.0% [72] 1762(12.8%) 1154(8.4%) bflog ...-lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [76] 34.5% ---------------------------------------------------------------------- ...higher-order.rkt:373:33 [71] 31.2% ??? [65] 68.8% [73] 634(4.6%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [75] 100.0% ---------------------------------------------------------------------- ??? [70] 100.0% [74] 238(1.7%) 238(1.7%) bfadd ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ---------------------------------------------------------------------- ->flonum [69] 16.3% ??? [70] 34.1% ??? [73] 49.6% [75] 1278(9.3%) 644(4.7%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [77] 49.6% ---------------------------------------------------------------------- bflog [72] 100.0% [76] 608(4.4%) 608(4.4%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- ??? [75] 100.0% [77] 634(4.6%) 204(1.5%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [78] 67.8% ---------------------------------------------------------------------- ??? [77] 100.0% [78] 430(3.1%) 430(3.1%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ----------------------------------------------------------------------