Profiling results ----------------- Total cpu time observed: 17490ms (out of 17700ms) Number of samples taken: 72 (once every 243ms) ===================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ===================================================================== ??? [26] 100.0% [1] 16870(96.5%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [5] 100.0% --------------------------------------------------------------------- ??? [26] 100.0% [2] 8658(49.5%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [6] 73.3% for-loop [7] 24.2% finalize-table! [10] 2.5% --------------------------------------------------------------------- ??? [26] 100.0% [3] 1706(9.8%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 for-loop [8] 54.2% simplify-expr [9] 45.8% --------------------------------------------------------------------- copying-mergesort [37] 100.0% [4] 1440(8.2%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [49] 100.0% --------------------------------------------------------------------- profile-thunk14 [1] 100.0% [5] 16870(96.5%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [26] 100.0% --------------------------------------------------------------------- run-improve58 [2] 100.0% [6] 6342(36.3%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [11] 100.0% --------------------------------------------------------------------- run-improve58 [2] 100.0% [7] 2098(12.0%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [12] 100.0% --------------------------------------------------------------------- simplify [3] 100.0% [8] 924(5.3%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [13] 100.0% --------------------------------------------------------------------- simplify [3] 100.0% [9] 782(4.5%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [13] 100.0% --------------------------------------------------------------------- run-improve58 [2] 100.0% [10] 218(1.2%) 0(0.0%) finalize-table! ...k/herbie/src/mainloop.rkt:264:0 post-process [14] 100.0% --------------------------------------------------------------------- get-final-combination [6] 100.0% [11] 6342(36.3%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [15] 100.0% --------------------------------------------------------------------- for-loop [7] 100.0% [12] 2098(12.0%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [16] 81.3% gen-series! [18] 18.7% --------------------------------------------------------------------- simplify-expr [9] 45.8% for-loop [8] 54.2% [13] 1706(9.8%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [17] 100.0% --------------------------------------------------------------------- finalize-table! [10] 100.0% [14] 218(1.2%) 0(0.0%) post-process .../ztatlock/herbie/src/glue.rkt:95:0 for-loop [19] 100.0% --------------------------------------------------------------------- split-table [11] 100.0% [15] 6342(36.3%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [20] 71.6% loop [53] 28.4% --------------------------------------------------------------------- run-iter! [12] 100.0% [16] 1706(9.8%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [21] 100.0% --------------------------------------------------------------------- iterate-egraph!5 [13] 100.0% [17] 1706(9.8%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [22] 65.2% loop [24] 23.0% apply-match [29] 11.8% --------------------------------------------------------------------- run-iter! [12] 100.0% [18] 392(2.2%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [23] 100.0% --------------------------------------------------------------------- post-process [14] 100.0% [19] 218(1.2%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:119:17 append-map [25] 100.0% --------------------------------------------------------------------- loop [53] 28.4% infer-splitpoints4 [15] 71.6% [20] 6342(36.3%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [27] 93.0% pick-errors [30] 7.0% --------------------------------------------------------------------- simplify! [16] 100.0% [21] 1706(9.8%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [26] 100.0% --------------------------------------------------------------------- for-loop [22] 50.0% one-iter [17] 50.0% [22] 1112(6.4%) 184(1.1%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [22] 50.0% match-e [33] 41.7% --------------------------------------------------------------------- gen-series! [18] 100.0% [23] 392(2.2%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [28] 100.0% --------------------------------------------------------------------- one-iter [17] 100.0% [24] 392(2.2%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [29] 100.0% --------------------------------------------------------------------- for-loop [19] 100.0% [25] 218(1.2%) 0(0.0%) append-map ...acket/collects/racket/list.rkt:565:2 taylor-alt [28] 100.0% --------------------------------------------------------------------- for-loop [21] 3.5% run [5] 47.4% [26] 17280(98.8%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 47.4% loop [31] 24.9% run-improve58 [2] 24.2% simplify [3] 3.5% --------------------------------------------------------------------- option-on-expr [20] 100.0% [27] 5900(33.7%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [32] 100.0% --------------------------------------------------------------------- append-map [25] 35.7% for-loop [23] 64.3% [28] 610(3.5%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [34] 100.0% --------------------------------------------------------------------- one-iter [17] 34.0% loop [24] 66.0% [29] 594(3.4%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 match-e [33] 66.3% for-loop [36] 33.7% --------------------------------------------------------------------- option-on-expr [20] 100.0% [30] 442(2.5%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [35] 100.0% --------------------------------------------------------------------- ??? [26] 100.0% [31] 8622(49.3%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [42] 64.7% loop [38] 35.3% --------------------------------------------------------------------- sort-context-on-expr [27] 100.0% [32] 5900(33.7%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [37] 74.3% loop [43] 25.7% --------------------------------------------------------------------- for-loop [46] 14.2% apply-match [29] 22.5% for-loop [22] 63.2% [33] 1322(7.6%) 562(3.2%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [39] 50.5% for-loop [46] 7.0% --------------------------------------------------------------------- taylor-alt [28] 100.0% [34] 610(3.5%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [40] 100.0% --------------------------------------------------------------------- pick-errors [30] 100.0% [35] 442(2.5%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [54] 100.0% --------------------------------------------------------------------- apply-match [29] 100.0% [36] 200(1.1%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:136:10 loop! [41] 100.0% --------------------------------------------------------------------- copying-mergesort [37] 46.2% sort [32] 53.8% [37] 4386(25.1%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [37] 46.2% loop [43] 45.6% jloop [4] 8.2% --------------------------------------------------------------------- loop [31] 100.0% [38] 3040(17.4%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [44] 73.8% make-exacts* [42] 26.2% --------------------------------------------------------------------- match-e [33] 100.0% [39] 760(4.3%) 568(3.2%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 for-loop [46] 12.6% list-cartesian-product [48] 12.6% --------------------------------------------------------------------- location-do [40] 16.4% for-loop [34] 83.6% [40] 610(3.5%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [45] 83.6% location-do [40] 16.4% --------------------------------------------------------------------- for-loop [36] 100.0% [41] 200(1.1%) 0(0.0%) loop! .../ztatlock/herbie/src/core/enode.rkt:163:2 custom-set-union [47] 100.0% --------------------------------------------------------------------- loop [38] 12.5% loop [31] 87.5% [42] 6378(36.5%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 loop [53] 55.7% map [50] 44.3% --------------------------------------------------------------------- sort [32] 33.9% copying-mergesort [37] 66.1% [43] 4460(25.5%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [49] 100.0% --------------------------------------------------------------------- loop [38] 100.0% [44] 2244(12.8%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [50] 100.0% --------------------------------------------------------------------- location-do [40] 100.0% [45] 610(3.5%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [51] 68.5% for-loop [52] 31.5% --------------------------------------------------------------------- match-e [33] 48.9% for-loop [39] 51.1% [46] 376(2.1%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [33] 100.0% --------------------------------------------------------------------- loop! [41] 100.0% [47] 200(1.1%) 200(1.1%) custom-set-union ...et/private/set-types.rkt:168:0 --------------------------------------------------------------------- for-loop [39] 100.0% [48] 192(1.1%) 192(1.1%) list-cartesian-product ...src/core/ematch.rkt:20:0 --------------------------------------------------------------------- jloop [4] 24.4% loop [43] 75.6% [49] 5900(33.7%) 378(2.2%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [54] 93.6% --------------------------------------------------------------------- loop [44] 44.3% make-exacts* [42] 55.7% [50] 5070(29.0%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [53] 91.8% ??? [56] 8.2% --------------------------------------------------------------------- approximate9 [45] 100.0% [51] 418(2.4%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [58] 100.0% --------------------------------------------------------------------- approximate9 [45] 100.0% [52] 192(1.1%) 0(0.0%) for-loop ...tlock/herbie/src/core/taylor.rkt:28:18 f94 [55] 100.0% --------------------------------------------------------------------- ??? [56] 0.0% make-exacts* [42] 0.0% map [50] 0.9% ??? [65] 2.2% infer-splitpoints4 [15] 17.6% loop [53] 79.3% [53] 10226(58.5%) 222(1.3%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [53] 79.3% option-on-expr [20] 17.6% hash-ref! [58] 1.1% ??? [56] 0.9% ->flonum [59] 0.0% real->bigfloat [62] 0.0% --------------------------------------------------------------------- for-loop [35] 7.4% ??? [49] 92.6% [54] 5964(34.1%) 4902(28.0%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 ??? [57] 10.7% hash-ref! [58] 3.7% parse-lambda [60] 3.4% --------------------------------------------------------------------- for-loop [52] 100.0% [55] 192(1.1%) 192(1.1%) f94 ...t/collects/racket/match/compiler.rkt:499:40 --------------------------------------------------------------------- map [50] 5.1% loop [53] 94.9% [56] 8118(46.4%) 1624(9.3%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [61] 50.1% real->bigfloat [62] 23.3% loop [53] 6.6% --------------------------------------------------------------------- eval-prog [54] 100.0% [57] 640(3.7%) 214(1.2%) ??? ...collects/racket/private/qq-and-or.rkt:155:9 ??? [63] 66.6% --------------------------------------------------------------------- ??? [67] 17.0% loop [53] 17.3% eval-prog [54] 17.3% loop [51] 48.3% [58] 640(3.7%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [65] 34.7% simplify [68] 31.2% ??? [67] 17.0% taylor [66] 17.0% --------------------------------------------------------------------- loop [53] 100.0% [59] 504(2.9%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [64] 54.4% ??? [76] 45.6% --------------------------------------------------------------------- eval-prog [54] 100.0% [60] 200(1.1%) 200(1.1%) parse-lambda ...llects/racket/private/kw.rkt:393:2 --------------------------------------------------------------------- ??? [56] 100.0% [61] 4068(23.3%) 0(0.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 bf* [69] 69.0% ??? [73] 18.3% ...higher-order.rkt:373:33 [70] 12.7% --------------------------------------------------------------------- loop [53] 22.0% ??? [56] 78.0% [62] 2426(13.9%) 1972(11.3%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [77] 18.7% --------------------------------------------------------------------- ??? [57] 100.0% [63] 426(2.4%) 426(2.4%) ??? ...ollects/racket/private/qq-and-or.rkt:164:21 --------------------------------------------------------------------- ->flonum [59] 100.0% [64] 274(1.6%) 0(0.0%) ??? ...-racket/utils/simple-result-arrow.rkt:47:15 ??? [77] 100.0% --------------------------------------------------------------------- hash-ref! [58] 100.0% [65] 222(1.3%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [53] 100.0% --------------------------------------------------------------------- hash-ref! [58] 100.0% [66] 218(1.2%) 0(0.0%) taylor ...tatlock/herbie/src/core/taylor.rkt:157:0 debug-print [71] 100.0% --------------------------------------------------------------------- hash-ref! [58] 100.0% [67] 218(1.2%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:63:15 hash-ref! [58] 100.0% --------------------------------------------------------------------- hash-ref! [58] 100.0% [68] 200(1.1%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 debug7 [72] 100.0% --------------------------------------------------------------------- ??? [61] 100.0% [69] 2806(16.0%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [73] 100.0% --------------------------------------------------------------------- ??? [61] 100.0% [70] 518(3.0%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [74] 100.0% --------------------------------------------------------------------- taylor [66] 100.0% [71] 218(1.2%) 218(1.2%) debug-print ...ztatlock/herbie/src/debug.rkt:107:0 --------------------------------------------------------------------- simplify [68] 100.0% [72] 200(1.1%) 200(1.1%) debug7 /home/ztatlock/herbie/src/debug.rkt:102:0 --------------------------------------------------------------------- ??? [61] 21.0% bf* [69] 79.0% [73] 3550(20.3%) 272(1.6%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfmul [75] 85.0% ??? [76] 7.3% --------------------------------------------------------------------- ...higher-order.rkt:373:33 [70]100.0% [74] 518(3.0%) 272(1.6%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [76] 47.5% --------------------------------------------------------------------- ??? [73] 100.0% [75] 3018(17.3%) 2770(15.8%) bfmul ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [77] 8.2% --------------------------------------------------------------------- ->flonum [59] 31.2% ??? [74] 33.4% ??? [73] 35.3% [76] 736(4.2%) 490(2.8%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [78] 33.4% --------------------------------------------------------------------- bfmul [75] 25.4% ??? [64] 28.1% real->bigfloat [62] 46.5% [77] 976(5.6%) 976(5.6%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 --------------------------------------------------------------------- ??? [76] 100.0% [78] 246(1.4%) 246(1.4%) ??? ...llects/racket/contract/combinator.rkt:178:4 ---------------------------------------------------------------------