Profiling results ----------------- Total cpu time observed: 15304ms (out of 15168ms) Number of samples taken: 62 (once every 247ms) =================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee =================================================================== ??? [27] 100.0% [1] 15304(100.0%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [5] 100.0% ------------------------------------------------------------------- ??? [27] 100.0% [2] 7326(47.9%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 for-loop [6] 70.0% get-final-combination [8] 24.4% loop [33] 5.7% ------------------------------------------------------------------- ??? [27] 100.0% [3] 3858(25.2%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [7] 49.9% iterate-egraph!5 [11] 27.1% for-loop [9] 23.1% ------------------------------------------------------------------- copying-mergesort [42] 100.0% [4] 400(2.6%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [52] 100.0% ------------------------------------------------------------------- profile-thunk14 [1] 100.0% [5] 15304(100.0%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [27] 100.0% ------------------------------------------------------------------- run-improve58 [2] 100.0% [6] 5126(33.5%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [10] 100.0% ------------------------------------------------------------------- simplify [3] 100.0% [7] 1924(12.6%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [11] 100.0% ------------------------------------------------------------------- run-improve58 [2] 100.0% [8] 1784(11.7%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [12] 100.0% ------------------------------------------------------------------- simplify [3] 100.0% [9] 890(5.8%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [11] 100.0% ------------------------------------------------------------------- for-loop [6] 100.0% [10] 5126(33.5%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [13] 75.3% finalize-iter! [16] 16.5% gen-series! [17] 8.3% ------------------------------------------------------------------- for-loop [9] 23.1% simplify [3] 27.1% simplify-expr [7] 49.9% [11] 3858(25.2%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [14] 94.8% *simplify-rules* [18] 5.2% ------------------------------------------------------------------- get-final-combination [8] 100.0% [12] 1784(11.7%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [15] 100.0% ------------------------------------------------------------------- run-iter! [10] 100.0% [13] 3858(25.2%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [19] 100.0% ------------------------------------------------------------------- iterate-egraph!5 [11] 100.0% [14] 3658(23.9%) 220(1.4%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [20] 76.0% loop [23] 18.0% ------------------------------------------------------------------- split-table [12] 100.0% [15] 1784(11.7%) 236(1.5%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [21] 75.6% exprs-to-branch-on [26] 11.2% ------------------------------------------------------------------- run-iter! [10] 100.0% [16] 844(5.5%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [22] 100.0% ------------------------------------------------------------------- run-iter! [10] 100.0% [17] 424(2.8%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [24] 100.0% ------------------------------------------------------------------- iterate-egraph!5 [11] 100.0% [18] 200(1.3%) 0(0.0%) *simplify-rules* ...bie/src/syntax/rules.rkt:300:0 for-loop [25] 100.0% ------------------------------------------------------------------- simplify! [13] 100.0% [19] 3858(25.2%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [27] 100.0% ------------------------------------------------------------------- for-loop [20] 50.0% one-iter [14] 50.0% [20] 2780(18.2%) 422(2.8%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [20] 50.0% match-e [34] 42.4% ------------------------------------------------------------------- infer-splitpoints4 [15] 100.0% [21] 1348(8.8%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [28] 100.0% ------------------------------------------------------------------- finalize-iter! [16] 100.0% [22] 844(5.5%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [29] 100.0% ------------------------------------------------------------------- one-iter [14] 100.0% [23] 658(4.3%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [30] 100.0% ------------------------------------------------------------------- gen-series! [17] 100.0% [24] 424(2.8%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [31] 100.0% ------------------------------------------------------------------- *simplify-rules* [18] 100.0% [25] 200(1.3%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/common.rkt:205:9 ??? [60] 100.0% ------------------------------------------------------------------- infer-splitpoints4 [15] 100.0% [26] 200(1.3%) 0(0.0%) exprs-to-branch-on ...ie/src/core/regimes.rkt:41:0 critical-subexpression [32] 100.0% ------------------------------------------------------------------- for-loop [19] 8.4% run [5] 45.8% [27] 15304(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 45.8% loop [33] 26.1% run-improve58 [2] 19.7% simplify [3] 8.4% ------------------------------------------------------------------- option-on-expr [21] 100.0% [28] 1348(8.8%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [35] 100.0% ------------------------------------------------------------------- ??? [22] 100.0% [29] 844(5.5%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [36] 100.0% ------------------------------------------------------------------- loop [23] 100.0% [30] 658(4.3%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 match-e [34] 64.1% mk-enode! [38] 35.9% ------------------------------------------------------------------- for-loop [24] 100.0% [31] 424(2.8%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [37] 100.0% ------------------------------------------------------------------- exprs-to-branch-on [26] 100.0% [32] 200(1.3%) 0(0.0%) critical-subexpression ...rc/core/regimes.rkt:49:0 localize-error [39] 100.0% ------------------------------------------------------------------- run-improve58 [2] 5.0% ??? [27] 95.0% [33] 8394(54.8%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [45] 64.6% loop [40] 32.9% loop [46] 2.5% ------------------------------------------------------------------- for-loop [47] 12.2% apply-match [30] 15.2% for-loop [20] 72.7% [34] 2780(18.2%) 1300(8.5%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [41] 34.7% for-loop [47] 15.5% list-cartesian-product [51] 7.3% ------------------------------------------------------------------- sort-context-on-expr [28] 100.0% [35] 1348(8.8%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [42] 65.6% loop [48] 34.4% ------------------------------------------------------------------- for-loop [29] 100.0% [36] 844(5.5%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [43]100.0% ------------------------------------------------------------------- taylor-alt [31] 100.0% [37] 424(2.8%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [44] 100.0% ------------------------------------------------------------------- apply-match [30] 100.0% [38] 236(1.5%) 236(1.5%) mk-enode! ...lock/herbie/src/core/egraph.rkt:101:0 ------------------------------------------------------------------- critical-subexpression [32] 100.0% [39] 200(1.3%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [59] 100.0% ------------------------------------------------------------------- loop [33] 100.0% [40] 2760(18.0%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [46] 66.4% make-exacts* [45] 26.2% eval-prog [56] 7.4% ------------------------------------------------------------------- match-e [34] 100.0% [41] 1076(7.0%) 416(2.7%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 for-loop [47] 51.1% list-cartesian-product [51] 10.2% ------------------------------------------------------------------- sort [35] 34.1% copying-mergesort [42] 65.9% [42] 884(5.8%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [42] 65.9% loop [48] 22.8% jloop [4] 11.3% ------------------------------------------------------------------- atab-add-altn [36] 100.0% [43] 844(5.5%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [49] 100.0% ------------------------------------------------------------------- for-loop [37] 41.3% location-do [44] 58.7% [44] 424(2.8%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 location-do [44] 58.7% approximate9 [50] 41.3% ------------------------------------------------------------------- loop [40] 11.8% loop [33] 88.2% [45] 6146(40.2%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 loop [73] 52.7% map [68] 47.3% ------------------------------------------------------------------- loop [33] 10.4% loop [40] 89.6% [46] 2044(13.4%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [68] 100.0% ------------------------------------------------------------------- match-e [34] 49.9% for-loop [41] 50.1% [47] 1098(7.2%) 220(1.4%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [34] 51.5% ??? [55] 28.4% ------------------------------------------------------------------- sort [35] 48.9% copying-mergesort [42] 51.1% [48] 948(6.2%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [52] 100.0% ------------------------------------------------------------------- best-and-tied-at-points [43]100.0% [49] 844(5.5%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [53] 100.0% ------------------------------------------------------------------- location-do [44] 100.0% [50] 424(2.8%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [54] 100.0% ------------------------------------------------------------------- list-cartesian-product [51] 23.9% match-e [34] 23.9% for-loop [41] 52.1% [51] 422(2.8%) 422(2.8%) list-cartesian-product ...src/core/ematch.rkt:20:0 list-cartesian-product [51] 23.9% ------------------------------------------------------------------- jloop [4] 29.7% loop [48] 70.3% [52] 1348(8.8%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [56] 100.0% ------------------------------------------------------------------- errors [49] 100.0% [53] 844(5.5%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [75] 73.5% ulp-difference [58] 26.5% ------------------------------------------------------------------- approximate9 [50] 100.0% [54] 424(2.8%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [59] 100.0% ------------------------------------------------------------------- for-loop [47] 100.0% [55] 422(2.8%) 0(0.0%) ??? /home/ztatlock/herbie/src/core/ematch.rkt:50:5 for-loop [57] 100.0% ------------------------------------------------------------------- loop [40] 13.1% ??? [52] 86.9% [56] 1552(10.1%) 1106(7.2%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 parse-lambda [61] 15.6% hash-ref! [59] 13.1% ------------------------------------------------------------------- ??? [55] 100.0% [57] 422(2.8%) 422(2.8%) for-loop ...atlock/herbie/src/core/ematch.rkt:51:7 ------------------------------------------------------------------- for-loop [53] 100.0% [58] 224(1.5%) 0(0.0%) ulp-difference ...atlock/herbie/src/float.rkt:19:0 ??? [60] 100.0% ------------------------------------------------------------------- localize-error [39] 6.0% eval-prog [56] 6.2% ??? [76] 18.1% loop [73] 18.5% ??? [62] 25.6% loop [54] 25.6% [59] 828(5.4%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [62] 25.6% simplify [63] 25.6% ??? [65] 18.5% parse-loop25 [70] 12.1% f16 [66] 12.1% bigfloat-hash [64] 6.2% ------------------------------------------------------------------- for-loop [25] 47.2% ulp-difference [58] 52.8% [60] 424(2.8%) 424(2.8%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ------------------------------------------------------------------- eval-prog [56] 100.0% [61] 242(1.6%) 242(1.6%) parse-lambda ...llects/racket/private/kw.rkt:393:2 ------------------------------------------------------------------- hash-ref! [59] 100.0% [62] 424(2.8%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [59] 100.0% ------------------------------------------------------------------- hash-ref! [59] 100.0% [63] 424(2.8%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 f16 [66] 100.0% ------------------------------------------------------------------- hash-ref! [59] 100.0% [64] 204(1.3%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 sig+exp->bigfloat [67] 100.0% ------------------------------------------------------------------- hash-ref! [59] 100.0% [65] 204(1.3%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [73] 100.0% ------------------------------------------------------------------- hash-ref! [59] 32.1% map [68] 34.0% simplify [63] 34.0% [66] 624(4.1%) 0(0.0%) f16 ...t/collects/racket/match/compiler.rkt:499:40 map [68] 82.2% composed [69] 17.8% ------------------------------------------------------------------- bigfloat-hash [64] 100.0% [67] 204(1.3%) 204(1.3%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 ------------------------------------------------------------------- parse-loop25 [70] 3.2% f16 [66] 8.0% loop [46] 36.7% make-exacts* [45] 52.1% [68] 5574(36.4%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [73] 90.6% parse-loop25 [70] 3.2% f16 [66] 3.2% ??? [76] 1.8% simplify* [72] 1.2% ------------------------------------------------------------------- f16 [66] 100.0% [69] 222(1.5%) 0(0.0%) composed ...ollects/racket/private/list.rkt:321:16 free-variables [71] 100.0% ------------------------------------------------------------------- hash-ref! [59] 32.1% map [68] 67.9% [70] 624(4.1%) 0(0.0%) parse-loop25 ...s/racket/match/compiler.rkt:410:15 map [68] 67.9% loop [73] 32.1% ------------------------------------------------------------------- composed [69] 100.0% [71] 222(1.5%) 222(1.5%) free-variables ...ock/herbie/src/programs.rkt:89:0 ------------------------------------------------------------------- map [68] 100.0% [72] 202(1.3%) 0(0.0%) simplify* ...tlock/herbie/src/core/reduce.rkt:23:0 constant? [74] 100.0% ------------------------------------------------------------------- parse-loop25 [70] 0.1% map [68] 0.6% make-exacts* [45] 2.0% ??? [65] 2.4% loop [73] 94.9% [73] 8594(56.2%) 200(1.3%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [73] 94.9% ??? [75] 2.5% hash-ref! [59] 2.4% ??? [76] 0.1% ------------------------------------------------------------------- simplify* [72] 100.0% [74] 202(1.3%) 202(1.3%) constant? ...ck/herbie/src/syntax/syntax.rkt:221:0 ------------------------------------------------------------------- for-loop [53] 7.0% loop [73] 93.0% [75] 8810(57.6%) 236(1.5%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [77] 63.3% real->bigfloat [78] 34.0% ------------------------------------------------------------------- map [68] 33.3% loop [73] 66.7% [76] 200(1.3%) 0(0.0%) ??? ...ket/collects/racket/private/list.rkt:323:18 hash-ref! [59] 100.0% ------------------------------------------------------------------- ??? [75] 100.0% [77] 5580(36.5%) 620(4.1%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [80] 76.6% bf* [79] 12.3% ------------------------------------------------------------------- ??? [75] 100.0% [78] 2994(19.6%) 2994(19.6%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ------------------------------------------------------------------- ??? [77] 100.0% [79] 684(4.5%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [80] 100.0% ------------------------------------------------------------------- bf* [79] 13.8% ??? [77] 86.2% [80] 4960(32.4%) 1172(7.7%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfsqrt [81] 39.8% bfdiv [82] 22.7% ??? [83] 13.9% ------------------------------------------------------------------- ??? [80] 100.0% [81] 1974(12.9%) 994(6.5%) bfsqrt ...lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [84] 49.6% ------------------------------------------------------------------- ??? [80] 100.0% [82] 1124(7.3%) 918(6.0%) bfdiv ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [84] 18.3% ------------------------------------------------------------------- ??? [80] 100.0% [83] 690(4.5%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [85] 100.0% ------------------------------------------------------------------- bfdiv [82] 17.4% bfsqrt [81] 82.6% [84] 1186(7.7%) 1186(7.7%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ------------------------------------------------------------------- ??? [83] 100.0% [85] 690(4.5%) 478(3.1%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [86] 30.7% ------------------------------------------------------------------- ??? [85] 100.0% [86] 212(1.4%) 212(1.4%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 -------------------------------------------------------------------