Profiling results ----------------- Total cpu time observed: 15492ms (out of 15692ms) Number of samples taken: 66 (once every 235ms) (Hiding functions with self<1.0% and local<2.0%: 1 of 73 hidden) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [22] 100.0% [1] 15272(98.6%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [5] 100.0% ---------------------------------------------------------------------- ??? [22] 100.0% [2] 3116(20.1%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [6] 53.7% for-loop [7] 39.9% loop [27] 6.4% ---------------------------------------------------------------------- hash-ref! [50] 100.0% [3] 222(1.4%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:295:23 for-loop [9] 100.0% ---------------------------------------------------------------------- hash-ref! [50] 100.0% [4] 222(1.4%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:392:23 for-loop [8] 100.0% ---------------------------------------------------------------------- profile-thunk14 [1] 100.0% [5] 15272(98.6%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [22] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [6] 1672(10.8%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [10] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [7] 1244(8.0%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [11] 100.0% ---------------------------------------------------------------------- ??? [4] 100.0% [8] 222(1.4%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:396:33 for-loop [12] 100.0% ---------------------------------------------------------------------- ??? [3] 100.0% [9] 222(1.4%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:298:27 hash-ref! [50] 100.0% ---------------------------------------------------------------------- get-final-combination [6] 100.0% [10] 1672(10.8%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [13] 100.0% ---------------------------------------------------------------------- for-loop [7] 100.0% [11] 1244(8.0%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 gen-series! [14] 50.0% simplify! [15] 33.9% finalize-iter! [16] 16.1% ---------------------------------------------------------------------- for-loop [8] 100.0% [12] 222(1.4%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:398:39 hash-ref! [50] 100.0% ---------------------------------------------------------------------- split-table [10] 100.0% [13] 1672(10.8%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [17] 88.0% exprs-to-branch-on [21] 12.0% ---------------------------------------------------------------------- run-iter! [11] 100.0% [14] 622(4.0%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [18] 100.0% ---------------------------------------------------------------------- run-iter! [11] 100.0% [15] 422(2.7%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [19] 100.0% ---------------------------------------------------------------------- run-iter! [11] 100.0% [16] 200(1.3%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [20] 100.0% ---------------------------------------------------------------------- infer-splitpoints4 [13] 100.0% [17] 1472(9.5%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [23] 100.0% ---------------------------------------------------------------------- gen-series! [14] 100.0% [18] 622(4.0%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [24] 100.0% ---------------------------------------------------------------------- simplify! [15] 100.0% [19] 422(2.7%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [22] 100.0% ---------------------------------------------------------------------- finalize-iter! [16] 100.0% [20] 200(1.3%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [25] 100.0% ---------------------------------------------------------------------- infer-splitpoints4 [13] 100.0% [21] 200(1.3%) 0(0.0%) exprs-to-branch-on ...ie/src/core/regimes.rkt:41:0 critical-subexpression [26] 100.0% ---------------------------------------------------------------------- for-loop [19] 0.9% run [5] 48.8% [22] 15492(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 48.8% loop [27] 40.7% run-improve58 [2] 9.6% simplify [30] 0.9% ---------------------------------------------------------------------- option-on-expr [17] 100.0% [23] 1472(9.5%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [28] 100.0% ---------------------------------------------------------------------- for-loop [18] 100.0% [24] 622(4.0%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [29] 100.0% ---------------------------------------------------------------------- ??? [20] 100.0% [25] 200(1.3%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [31] 100.0% ---------------------------------------------------------------------- exprs-to-branch-on [21] 100.0% [26] 200(1.3%) 0(0.0%) critical-subexpression ...rc/core/regimes.rkt:49:0 localize-error [32] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 1.6% ??? [22] 98.4% [27] 12576(81.2%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [33] 43.6% make-exacts* [39] 36.3% loop [40] 20.1% ---------------------------------------------------------------------- sort-context-on-expr [23] 100.0% [28] 1472(9.5%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [34] 57.6% loop [35] 42.4% ---------------------------------------------------------------------- taylor-alt [24] 100.0% [29] 622(4.0%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [36] 100.0% ---------------------------------------------------------------------- ??? [22] 100.0% [30] 422(2.7%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [37] 100.0% ---------------------------------------------------------------------- for-loop [25] 100.0% [31] 200(1.3%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [38] 100.0% ---------------------------------------------------------------------- critical-subexpression [26] 100.0% [32] 200(1.3%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [50] 100.0% ---------------------------------------------------------------------- loop [27] 100.0% [33] 5488(35.4%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 make-exacts* [39] 51.1% loop [40] 48.9% ---------------------------------------------------------------------- sort [28] 25.0% copying-mergesort [34] 75.0% [34] 848(5.5%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [34] 75.0% jloop [41] 25.0% ---------------------------------------------------------------------- sort [28] 100.0% [35] 624(4.0%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [45] 100.0% ---------------------------------------------------------------------- location-do [36] 17.8% for-loop [29] 82.2% [36] 622(4.0%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [42] 82.2% location-do [36] 17.8% ---------------------------------------------------------------------- simplify [30] 100.0% [37] 422(2.7%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [43] 100.0% ---------------------------------------------------------------------- atab-add-altn [31] 100.0% [38] 200(1.3%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 for-loop [44] 100.0% ---------------------------------------------------------------------- loop [33] 38.1% loop [27] 61.9% [39] 7364(47.5%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [56] 62.7% loop [57] 37.3% ---------------------------------------------------------------------- loop [27] 48.5% loop [33] 51.5% [40] 5212(33.6%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [56] 100.0% ---------------------------------------------------------------------- copying-mergesort [34] 100.0% [41] 848(5.5%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [45] 100.0% ---------------------------------------------------------------------- location-do [36] 100.0% [42] 622(4.0%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [47] 67.8% taylor-quotient [48] 32.2% ---------------------------------------------------------------------- simplify-expr [37] 100.0% [43] 422(2.7%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [46] 100.0% ---------------------------------------------------------------------- best-and-tied-at-points [38] 100.0% [44] 200(1.3%) 200(1.3%) for-loop ...k/herbie/src/core/alt-table.rkt:124:16 ---------------------------------------------------------------------- loop [35] 42.4% jloop [41] 57.6% [45] 1472(9.5%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [49] 100.0% ---------------------------------------------------------------------- iterate-egraph!5 [43] 100.0% [46] 422(2.7%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [51] 100.0% ---------------------------------------------------------------------- approximate9 [42] 100.0% [47] 422(2.7%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [50] 100.0% ---------------------------------------------------------------------- approximate9 [42] 100.0% [48] 200(1.3%) 0(0.0%) taylor-quotient ...erbie/src/core/taylor.rkt:328:0 simplify [52] 100.0% ---------------------------------------------------------------------- ??? [45] 100.0% [49] 1472(9.5%) 1472(9.5%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 ---------------------------------------------------------------------- for-loop [9] 8.9% for-loop [12] 8.9% ??? [54] 25.0% loop [47] 25.0% localize-error [32] 32.2% [50] 622(4.0%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 f16 [55] 32.2% ??? [54] 25.0% simplify [52] 25.0% ??? [4] 8.9% ??? [3] 8.9% ---------------------------------------------------------------------- for-loop [51] 50.0% one-iter [46] 50.0% [51] 422(2.7%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [51] 50.0% match-e [53] 50.0% ---------------------------------------------------------------------- taylor-quotient [48] 32.2% hash-ref! [50] 67.8% [52] 622(4.0%) 200(1.3%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 parse-loop50 [58] 35.7% f16 [55] 32.2% ---------------------------------------------------------------------- for-loop [51] 100.0% [53] 422(2.7%) 422(2.7%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 ---------------------------------------------------------------------- hash-ref! [50] 100.0% [54] 422(2.7%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [50] 100.0% ---------------------------------------------------------------------- map [56] 25.0% simplify [52] 25.0% hash-ref! [50] 50.0% [55] 400(2.6%) 0(0.0%) f16 ...t/collects/racket/match/compiler.rkt:499:40 map [56] 100.0% ---------------------------------------------------------------------- f16 [55] 2.9% make-exacts* [39] 45.1% loop [40] 51.0% [56] 10226(66.0%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [57] 94.5% ??? [59] 2.6% ->flonum [60] 1.0% f16 [55] 1.0% parse-loop50 [58] 1.0% ---------------------------------------------------------------------- make-exacts* [39] 0.1% map [56] 3.5% loop [57] 96.4% [57] 12512(80.8%) 240(1.5%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [57] 96.4% ??? [59] 3.6% ->flonum [60] 0.0% ---------------------------------------------------------------------- simplify [52] 13.2% map [56] 23.7% parse-loop50 [58] 63.2% [58] 422(2.7%) 422(2.7%) parse-loop50 ...s/racket/match/compiler.rkt:410:15 parse-loop50 [58] 63.2% ---------------------------------------------------------------------- map [56] 2.2% loop [57] 97.8% [59] 11858(76.5%) 248(1.6%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [61] 78.4% real->bigfloat [62] 19.5% ---------------------------------------------------------------------- map [56] 29.5% loop [57] 70.5% [60] 678(4.4%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [70] 100.0% ---------------------------------------------------------------------- ??? [59] 100.0% [61] 9300(60.0%) 0(0.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [63] 97.6% ...higher-order.rkt:373:33 [64] 2.4% ---------------------------------------------------------------------- ??? [59] 100.0% [62] 2310(14.9%) 1550(10.0%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [68] 32.9% ---------------------------------------------------------------------- ??? [61] 100.0% [63] 9080(58.6%) 6660(43.0%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfdiv [65] 16.8% ??? [70] 7.5% bfexp [67] 2.4% ---------------------------------------------------------------------- ??? [61] 100.0% [64] 220(1.4%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [66] 100.0% ---------------------------------------------------------------------- ??? [63] 100.0% [65] 1524(9.8%) 1282(8.3%) bfdiv ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [68] 15.9% ---------------------------------------------------------------------- ...higher-order.rkt:373:33 [64]100.0% [66] 220(1.4%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [69] 100.0% ---------------------------------------------------------------------- ??? [63] 100.0% [67] 218(1.4%) 218(1.4%) bfexp ...-lib/math/private/bigfloat/mpfr.rkt:616:4 ---------------------------------------------------------------------- bfdiv [65] 24.2% real->bigfloat [62] 75.8% [68] 1002(6.5%) 1002(6.5%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- ??? [66] 100.0% [69] 220(1.4%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [70] 100.0% ---------------------------------------------------------------------- ??? [69] 14.0% ->flonum [60] 43.0% ??? [63] 43.0% [70] 1576(10.2%) 914(5.9%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [71] 42.0% ---------------------------------------------------------------------- ??? [70] 100.0% [71] 662(4.3%) 442(2.9%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [72] 33.2% ---------------------------------------------------------------------- ??? [71] 100.0% [72] 220(1.4%) 220(1.4%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ----------------------------------------------------------------------