Profiling results ----------------- Total cpu time observed: 14646ms (out of 14908ms) Number of samples taken: 61 (once every 240ms) ================================================================= Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ================================================================= ??? [5] 100.0% [1] 14022(95.7%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [3] 100.0% ----------------------------------------------------------------- hash-ref! [55] 100.0% [2] 200(1.4%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:285:26 for-loop [4] 100.0% ----------------------------------------------------------------- profile-thunk14 [1] 100.0% [3] 14022(95.7%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [5] 100.0% ----------------------------------------------------------------- ??? [2] 100.0% [4] 200(1.4%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:285:52 ??? [6] 100.0% ----------------------------------------------------------------- for-loop [27] 2.3% run [3] 47.5% [5] 14424(98.5%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 47.5% loop [9] 37.5% run-improve58 [7] 12.7% simplify [8] 2.3% ----------------------------------------------------------------- for-loop [4] 100.0% [6] 200(1.4%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:288:19 hash-ref! [55] 100.0% ----------------------------------------------------------------- ??? [5] 100.0% [7] 3604(24.6%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [10] 50.1% for-loop [11] 44.4% loop [9] 5.5% ----------------------------------------------------------------- ??? [5] 100.0% [8] 998(6.8%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [12] 40.1% iterate-egraph!5 [17] 39.9% for-loop [13] 20.0% ----------------------------------------------------------------- run-improve58 [7] 1.8% ??? [5] 98.2% [9] 11020(75.2%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [14] 49.8% make-exacts* [19] 33.6% loop [20] 16.6% ----------------------------------------------------------------- run-improve58 [7] 100.0% [10] 1804(12.3%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [15] 88.9% extract-alt [18] 11.1% ----------------------------------------------------------------- run-improve58 [7] 100.0% [11] 1600(10.9%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [16] 100.0% ----------------------------------------------------------------- simplify [8] 100.0% [12] 400(2.7%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [17] 100.0% ----------------------------------------------------------------- simplify [8] 100.0% [13] 200(1.4%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [17] 100.0% ----------------------------------------------------------------- loop [9] 100.0% [14] 5488(37.5%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 make-exacts* [19] 53.5% loop [20] 46.5% ----------------------------------------------------------------- get-final-combination [10] 100.0% [15] 1604(11.0%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [21] 100.0% ----------------------------------------------------------------- for-loop [11] 100.0% [16] 1600(10.9%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [23] 62.4% gen-series! [24] 25.0% localize-error [41] 12.6% ----------------------------------------------------------------- for-loop [13] 20.0% simplify [8] 39.9% simplify-expr [12] 40.1% [17] 998(6.8%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [22] 100.0% ----------------------------------------------------------------- get-final-combination [10] 100.0% [18] 200(1.4%) 0(0.0%) extract-alt ...e/ztatlock/herbie/src/glue.rkt:57:0 loop [25] 100.0% ----------------------------------------------------------------- loop [14] 44.2% loop [9] 55.8% [19] 6644(45.4%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 loop [62] 59.7% map [60] 40.3% ----------------------------------------------------------------- loop [9] 41.7% loop [14] 58.3% [20] 4376(29.9%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [60] 100.0% ----------------------------------------------------------------- split-table [15] 100.0% [21] 1604(11.0%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [26] 87.7% exprs-to-branch-on [33] 12.3% ----------------------------------------------------------------- iterate-egraph!5 [17] 100.0% [22] 998(6.8%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [28] 59.9% loop [30] 20.0% apply-match [31] 20.0% ----------------------------------------------------------------- run-iter! [16] 100.0% [23] 998(6.8%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [27] 100.0% ----------------------------------------------------------------- run-iter! [16] 100.0% [24] 400(2.7%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [29] 100.0% ----------------------------------------------------------------- extract-alt [18] 100.0% [25] 200(1.4%) 0(0.0%) loop /home/ztatlock/herbie/src/common.rkt:86:2 composed [32] 100.0% ----------------------------------------------------------------- infer-splitpoints4 [21] 100.0% [26] 1406(9.6%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [34] 100.0% ----------------------------------------------------------------- simplify! [23] 100.0% [27] 998(6.8%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [5] 100.0% ----------------------------------------------------------------- for-loop [28] 50.0% one-iter [22] 50.0% [28] 598(4.1%) 398(2.7%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [28] 50.0% match-e [37] 16.7% ----------------------------------------------------------------- gen-series! [24] 100.0% [29] 400(2.7%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [35] 100.0% ----------------------------------------------------------------- one-iter [22] 100.0% [30] 200(1.4%) 200(1.4%) loop ...ket/collects/racket/private/list.rkt:264:4 ----------------------------------------------------------------- one-iter [22] 100.0% [31] 200(1.4%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 merge-egraph-nodes! [36] 100.0% ----------------------------------------------------------------- loop [25] 100.0% [32] 200(1.4%) 0(0.0%) composed ...ollects/racket/private/list.rkt:321:16 errors [38] 100.0% ----------------------------------------------------------------- infer-splitpoints4 [21] 100.0% [33] 198(1.4%) 0(0.0%) exprs-to-branch-on ...ie/src/core/regimes.rkt:41:0 critical-subexpression [39]100.0% ----------------------------------------------------------------- option-on-expr [26] 100.0% [34] 1406(9.6%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [40] 85.6% for-loop [43] 14.4% ----------------------------------------------------------------- for-loop [29] 100.0% [35] 400(2.7%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [42] 100.0% ----------------------------------------------------------------- apply-match [31] 100.0% [36] 200(1.4%) 0(0.0%) merge-egraph-nodes! ...e/src/core/egraph.rkt:152:0 update-leader! [44] 100.0% ----------------------------------------------------------------- for-loop [28] 100.0% [37] 200(1.4%) 0(0.0%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 constant? [45] 100.0% ----------------------------------------------------------------- composed [32] 100.0% [38] 200(1.4%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [46] 100.0% ----------------------------------------------------------------- exprs-to-branch-on [33] 100.0% [39] 198(1.4%) 0(0.0%) critical-subexpression ...rc/core/regimes.rkt:49:0 localize-error [41] 100.0% ----------------------------------------------------------------- sort-context-on-expr [34] 100.0% [40] 1204(8.2%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [47] 66.4% loop [49] 33.6% ----------------------------------------------------------------- critical-subexpression [39] 49.5% run-iter! [16] 50.5% [41] 400(2.7%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [55] 100.0% ----------------------------------------------------------------- taylor-alt [35] 100.0% [42] 400(2.7%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [48] 100.0% ----------------------------------------------------------------- sort-context-on-expr [34] 100.0% [43] 202(1.4%) 202(1.4%) for-loop ...e/ztatlock/herbie/src/points.rkt:51:19 ----------------------------------------------------------------- merge-egraph-nodes! [36] 100.0% [44] 200(1.4%) 200(1.4%) update-leader! ...herbie/src/core/egraph.rkt:217:0 ----------------------------------------------------------------- match-e [37] 100.0% [45] 200(1.4%) 200(1.4%) constant? ...ck/herbie/src/syntax/syntax.rkt:221:0 ----------------------------------------------------------------- errors [38] 100.0% [46] 200(1.4%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ->flonum [66] 100.0% ----------------------------------------------------------------- sort [40] 46.0% copying-mergesort [47] 54.0% [47] 800(5.5%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [47] 54.0% loop [49] 33.5% jloop [50] 12.5% ----------------------------------------------------------------- location-do [48] 50.0% for-loop [42] 50.0% [48] 400(2.7%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 location-do [48] 50.0% simplify [56] 25.0% approximate9 [51] 25.0% ----------------------------------------------------------------- copying-mergesort [47] 49.8% sort [40] 50.2% [49] 804(5.5%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [52] 100.0% ----------------------------------------------------------------- copying-mergesort [47] 100.0% [50] 400(2.7%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [52] 100.0% ----------------------------------------------------------------- location-do [48] 100.0% [51] 200(1.4%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [53] 100.0% ----------------------------------------------------------------- jloop [50] 33.2% loop [49] 66.8% [52] 1204(8.2%) 202(1.4%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [54] 83.2% ----------------------------------------------------------------- approximate9 [51] 100.0% [53] 200(1.4%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [55] 100.0% ----------------------------------------------------------------- ??? [52] 100.0% [54] 1002(6.8%) 1002(6.8%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 ----------------------------------------------------------------- ??? [6] 11.1% ??? [57] 11.1% loop [53] 11.1% ??? [64] 22.0% localize-error [41] 44.7% [55] 600(4.1%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 f6 [58] 55.7% ??? [57] 11.1% ??? [2] 11.1% simplify [56] 11.1% parse-loop50 [59] 11.0% ----------------------------------------------------------------- hash-ref! [55] 50.0% location-do [48] 50.0% [56] 400(2.7%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 f6 [58] 50.0% parse-loop50 [59] 50.0% ----------------------------------------------------------------- hash-ref! [55] 100.0% [57] 200(1.4%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [55] 100.0% ----------------------------------------------------------------- map [60] 16.7% simplify [56] 16.7% hash-ref! [55] 66.7% [58] 600(4.1%) 200(1.4%) f6 ...et/collects/racket/match/compiler.rkt:499:40 map [60] 83.3% ----------------------------------------------------------------- loop [62] 8.4% simplify [56] 8.4% parse-loop50 [59] 33.5% hash-ref! [55] 49.7% [59] 398(2.7%) 0(0.0%) parse-loop50 ...s/racket/match/compiler.rkt:410:15 loop [62] 58.1% parse-loop50 [59] 33.5% parse-app [61] 8.4% ----------------------------------------------------------------- f6 [58] 7.8% make-exacts* [19] 35.0% loop [20] 57.2% [60] 7654(52.3%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [62] 92.1% ??? [65] 2.7% f6 [58] 2.6% ??? [64] 2.6% ----------------------------------------------------------------- parse-loop50 [59] 100.0% [61] 200(1.4%) 0(0.0%) parse-app .../collects/racket/private/kw.rkt:903:2 loop [63] 100.0% ----------------------------------------------------------------- make-exacts* [19] 0.2% parse-loop50 [59] 0.9% map [60] 2.5% loop [62] 96.4% [62] 11636(79.4%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [62] 96.4% ??? [65] 2.6% parse-loop50 [59] 0.9% ??? [71] 0.1% ->flonum [66] 0.0% ----------------------------------------------------------------- parse-app [61] 100.0% [63] 200(1.4%) 200(1.4%) loop .../collects/racket/private/stxcase.rkt:112:7 ----------------------------------------------------------------- map [60] 100.0% [64] 198(1.4%) 0(0.0%) ??? ...ket/collects/racket/private/list.rkt:323:18 hash-ref! [55] 100.0% ----------------------------------------------------------------- map [60] 2.0% loop [62] 98.0% [65] 10526(71.9%) 678(4.6%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [67] 75.7% real->bigfloat [68] 13.5% ??? [69] 4.4% ----------------------------------------------------------------- for-loop [46] 21.8% loop [62] 78.2% [66] 916(6.3%) 234(1.6%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [73] 52.6% ??? [70] 21.8% ----------------------------------------------------------------- ??? [65] 100.0% [67] 7964(54.4%) 0(0.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [71] 100.0% ----------------------------------------------------------------- ??? [65] 100.0% [68] 1416(9.7%) 1214(8.3%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [75] 14.3% ----------------------------------------------------------------- ??? [65] 100.0% [69] 468(3.2%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [73] 100.0% ----------------------------------------------------------------- ->flonum [66] 100.0% [70] 200(1.4%) 200(1.4%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ----------------------------------------------------------------- loop [62] 4.8% ??? [67] 95.2% [71] 8364(57.1%) 4432(30.3%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfexp [72] 21.8% bfsub [74] 17.2% ??? [73] 8.0% ----------------------------------------------------------------- ??? [71] 100.0% [72] 1824(12.5%) 1204(8.2%) bfexp ...-lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [75] 34.0% ----------------------------------------------------------------- ??? [69] 28.9% ->flonum [66] 29.8% ??? [71] 41.3% [73] 1618(11.0%) 658(4.5%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [76] 44.5% ??? [77] 14.8% ----------------------------------------------------------------- ??? [71] 100.0% [74] 1440(9.8%) 986(6.7%) bfsub ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [75] 31.5% ----------------------------------------------------------------- real->bigfloat [68] 15.8% bfsub [74] 35.6% bfexp [72] 48.6% [75] 1276(8.7%) 1276(8.7%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ----------------------------------------------------------------- ??? [73] 100.0% [76] 720(4.9%) 720(4.9%) ??? ...llects/racket/contract/combinator.rkt:178:4 ----------------------------------------------------------------- ??? [73] 100.0% [77] 240(1.6%) 240(1.6%) ??? ...ects/racket/contract/private/prop.rkt:489:4 -----------------------------------------------------------------