Profiling results ----------------- Total cpu time observed: 17030ms (out of 17440ms) Number of samples taken: 68 (once every 250ms) ======================================================================= Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ======================================================================= ??? [7] 100.0% [1] 17030(100.0%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [4] 100.0% ----------------------------------------------------------------------- ??? [7] 100.0% [2] 1746(10.3%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [5] 51.0% for-loop [6] 36.3% iterate-egraph!5 [8] 12.7% ----------------------------------------------------------------------- loop [53] 100.0% [3] 232(1.4%) 0(0.0%) ??? ...ket/collects/racket/private/list.rkt:323:18 hash-ref! [33] 100.0% ----------------------------------------------------------------------- profile-thunk14 [1] 100.0% [4] 17030(100.0%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [7] 100.0% ----------------------------------------------------------------------- simplify [2] 100.0% [5] 890(5.2%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [8] 100.0% ----------------------------------------------------------------------- simplify [2] 100.0% [6] 634(3.7%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [8] 100.0% ----------------------------------------------------------------------- for-loop [30] 3.4% run [4] 48.3% [7] 17030(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 48.3% loop [9] 32.5% run-improve58 [10] 15.8% simplify [2] 3.4% ----------------------------------------------------------------------- simplify [2] 12.7% for-loop [6] 36.3% simplify-expr [5] 51.0% [8] 1746(10.3%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [11] 100.0% ----------------------------------------------------------------------- ??? [7] 100.0% [9] 11078(65.0%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [16] 36.1% loop [12] 36.0% loop [17] 28.0% ----------------------------------------------------------------------- ??? [7] 100.0% [10] 5952(35.0%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [13] 53.3% for-loop [14] 46.7% ----------------------------------------------------------------------- iterate-egraph!5 [8] 100.0% [11] 1746(10.3%) 242(1.4%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [15] 86.1% ----------------------------------------------------------------------- loop [9] 100.0% [12] 3984(23.4%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 make-exacts* [16] 54.0% loop [17] 46.0% ----------------------------------------------------------------------- run-improve58 [10] 100.0% [13] 3170(18.6%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [18] 100.0% ----------------------------------------------------------------------- run-improve58 [10] 100.0% [14] 2782(16.3%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [19] 100.0% ----------------------------------------------------------------------- for-loop [15] 50.0% one-iter [11] 50.0% [15] 1504(8.8%) 428(2.5%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [15] 50.0% match-e [20] 35.8% ----------------------------------------------------------------------- loop [12] 35.0% loop [9] 65.0% [16] 6144(36.1%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 loop [53] 59.3% map [51] 40.7% ----------------------------------------------------------------------- loop [12] 37.2% loop [9] 62.8% [17] 4934(29.0%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [51] 100.0% ----------------------------------------------------------------------- get-final-combination [13] 100.0% [18] 3170(18.6%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [21] 100.0% ----------------------------------------------------------------------- for-loop [14] 100.0% [19] 2782(16.3%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [22] 62.8% finalize-iter! [23] 21.6% localize-error [25] 8.3% gen-series! [29] 7.3% ----------------------------------------------------------------------- for-loop [32] 10.0% for-loop [15] 90.0% [20] 1076(6.3%) 220(1.3%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [24] 28.6% list-cartesian-product [26] 20.6% custom-in-set [27] 20.3% curry* [28] 10.0% ----------------------------------------------------------------------- split-table [18] 100.0% [21] 3170(18.6%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [54] 71.8% loop [53] 28.2% ----------------------------------------------------------------------- run-iter! [19] 100.0% [22] 1746(10.3%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [30] 100.0% ----------------------------------------------------------------------- run-iter! [19] 100.0% [23] 602(3.5%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [31] 100.0% ----------------------------------------------------------------------- match-e [20] 100.0% [24] 416(2.4%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 for-loop [32] 100.0% ----------------------------------------------------------------------- run-iter! [19] 100.0% [25] 232(1.4%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [33] 100.0% ----------------------------------------------------------------------- list-cartesian-product [26] 50.0% match-e [20] 50.0% [26] 222(1.3%) 222(1.3%) list-cartesian-product ...src/core/ematch.rkt:20:0 list-cartesian-product [26] 50.0% ----------------------------------------------------------------------- match-e [20] 100.0% [27] 218(1.3%) 218(1.3%) custom-in-set ...acket/private/set-types.rkt:578:0 ----------------------------------------------------------------------- match-e [20] 100.0% [28] 216(1.3%) 0(0.0%) curry* ...racket/collects/racket/function.rkt:44:2 procedure-arity [34] 100.0% ----------------------------------------------------------------------- run-iter! [19] 100.0% [29] 202(1.2%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [35] 100.0% ----------------------------------------------------------------------- simplify! [22] 100.0% [30] 1746(10.3%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [7] 100.0% ----------------------------------------------------------------------- finalize-iter! [23] 100.0% [31] 602(3.5%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [36] 100.0% ----------------------------------------------------------------------- for-loop [24] 100.0% [32] 416(2.4%) 200(1.2%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [20] 51.9% ----------------------------------------------------------------------- ??? [3] 50.0% localize-error [25] 50.0% [33] 232(1.4%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 parse-loop12 [48] 50.0% f6 [50] 50.0% ----------------------------------------------------------------------- curry* [28] 100.0% [34] 216(1.3%) 216(1.3%) procedure-arity ...ket/private/norm-arity.rkt:7:27 ----------------------------------------------------------------------- gen-series! [29] 100.0% [35] 202(1.2%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [37] 100.0% ----------------------------------------------------------------------- ??? [31] 100.0% [36] 602(3.5%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [38] 100.0% ----------------------------------------------------------------------- for-loop [35] 100.0% [37] 202(1.2%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [39] 100.0% ----------------------------------------------------------------------- for-loop [36] 100.0% [38] 602(3.5%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [40] 100.0% ----------------------------------------------------------------------- taylor-alt [37] 100.0% [39] 202(1.2%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [41] 100.0% ----------------------------------------------------------------------- atab-add-altn [38] 100.0% [40] 602(3.5%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [42] 66.4% for-loop [43] 33.6% ----------------------------------------------------------------------- for-loop [39] 33.3% location-do [41] 66.7% [41] 202(1.2%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 location-do [41] 66.7% simplify [44] 33.3% ----------------------------------------------------------------------- best-and-tied-at-points [40] 100.0% [42] 400(2.3%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [45] 100.0% ----------------------------------------------------------------------- best-and-tied-at-points [40] 100.0% [43] 202(1.2%) 202(1.2%) for-loop ...k/herbie/src/core/alt-table.rkt:124:16 ----------------------------------------------------------------------- location-do [41] 100.0% [44] 202(1.2%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 simplify-node [46] 100.0% ----------------------------------------------------------------------- errors [42] 100.0% [45] 400(2.3%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [61] 100.0% ----------------------------------------------------------------------- simplify [44] 100.0% [46] 202(1.2%) 0(0.0%) simplify-node ...k/herbie/src/core/reduce.rkt:41:0 append-map [47] 100.0% ----------------------------------------------------------------------- simplify-node [46] 100.0% [47] 202(1.2%) 0(0.0%) append-map ...acket/collects/racket/list.rkt:565:2 parse-loop12 [48] 100.0% ----------------------------------------------------------------------- append-map [47] 46.5% hash-ref! [33] 53.5% [48] 434(2.5%) 0(0.0%) parse-loop12 ...s/racket/match/compiler.rkt:410:15 loop [53] 53.5% for-loop [49] 46.5% ----------------------------------------------------------------------- parse-loop12 [48] 100.0% [49] 202(1.2%) 0(0.0%) for-loop ...tlock/herbie/src/core/reduce.rkt:90:13 f6 [50] 100.0% ----------------------------------------------------------------------- for-loop [49] 46.5% hash-ref! [33] 53.5% [50] 434(2.5%) 0(0.0%) f6 ...et/collects/racket/match/compiler.rkt:499:40 map [51] 53.5% gather-multiplicative-terms [52] 46.5% ----------------------------------------------------------------------- f6 [50] 3.0% make-exacts* [16] 32.6% loop [17] 64.4% [51] 7666(45.0%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [53] 100.0% ----------------------------------------------------------------------- f6 [50] 100.0% [52] 202(1.2%) 202(1.2%) gather-multiplicative-terms ...re/reduce.rkt:107:0 ----------------------------------------------------------------------- parse-loop12 [48] 0.0% make-exacts* [16] 1.1% map [51] 2.1% infer-splitpoints4 [21] 7.3% loop [53] 89.4% [53] 12204(71.7%) 284(1.7%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [53] 89.4% option-on-expr [54] 7.3% ??? [61] 2.9% ->flonum [65] 0.2% ??? [3] 0.0% ??? [69] 0.0% ----------------------------------------------------------------------- loop [53] 28.2% infer-splitpoints4 [21] 71.8% [54] 3170(18.6%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [55] 100.0% ----------------------------------------------------------------------- option-on-expr [54] 100.0% [55] 3170(18.6%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [56] 100.0% ----------------------------------------------------------------------- sort-context-on-expr [55] 100.0% [56] 3170(18.6%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [57] 64.5% loop [58] 35.5% ----------------------------------------------------------------------- sort [56] 41.4% copying-mergesort [57] 58.6% [57] 2046(12.0%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [57] 58.6% loop [58] 27.4% jloop [59] 14.0% ----------------------------------------------------------------------- copying-mergesort [57] 44.5% sort [56] 55.5% [58] 2026(11.9%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [60] 100.0% ----------------------------------------------------------------------- copying-mergesort [57] 100.0% [59] 1144(6.7%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [60] 100.0% ----------------------------------------------------------------------- jloop [59] 36.1% loop [58] 63.9% [60] 3170(18.6%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [62] 93.0% ??? [61] 7.0% ----------------------------------------------------------------------- ??? [60] 2.1% for-loop [45] 3.8% loop [53] 94.0% [61] 10392(61.0%) 1380(8.1%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [63] 45.5% real->bigfloat [64] 34.0% ??? [66] 5.1% ->flonum [65] 2.1% ----------------------------------------------------------------------- ??? [60] 100.0% [62] 2948(17.3%) 2274(13.4%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 ??? [67] 15.4% inductor [68] 7.5% ----------------------------------------------------------------------- ??? [61] 100.0% [63] 4728(27.8%) 400(2.3%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [69] 91.5% ----------------------------------------------------------------------- ??? [61] 100.0% [64] 3534(20.8%) 2384(14.0%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [75] 32.5% ----------------------------------------------------------------------- ??? [61] 17.8% loop [53] 82.2% [65] 1246(7.3%) 198(1.2%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [70] 84.1% ----------------------------------------------------------------------- ??? [61] 100.0% [66] 528(3.1%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [72] 100.0% ----------------------------------------------------------------------- eval-prog [62] 100.0% [67] 454(2.7%) 222(1.3%) ??? ...collects/racket/private/qq-and-or.rkt:155:9 ??? [71] 51.1% ----------------------------------------------------------------------- eval-prog [62] 100.0% [68] 220(1.3%) 220(1.3%) inductor .../ztatlock/herbie/src/programs.rkt:73:2 ----------------------------------------------------------------------- loop [53] 5.1% ??? [63] 94.9% [69] 4560(26.8%) 1702(10.0%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfadd [73] 26.8% ??? [72] 20.8% bfcos [74] 15.0% ----------------------------------------------------------------------- ->flonum [65] 100.0% [70] 1048(6.2%) 1048(6.2%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ----------------------------------------------------------------------- ??? [67] 100.0% [71] 232(1.4%) 232(1.4%) ??? ...ollects/racket/private/qq-and-or.rkt:164:21 ----------------------------------------------------------------------- ??? [66] 35.8% ??? [69] 64.2% [72] 1476(8.7%) 528(3.1%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [76] 64.2% ----------------------------------------------------------------------- ??? [69] 100.0% [73] 1224(7.2%) 1224(7.2%) bfadd ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ----------------------------------------------------------------------- ??? [69] 100.0% [74] 686(4.0%) 480(2.8%) bfcos ...-lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [75] 30.0% ----------------------------------------------------------------------- bfcos [74] 15.2% real->bigfloat [64] 84.8% [75] 1356(8.0%) 1356(8.0%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ----------------------------------------------------------------------- ??? [72] 100.0% [76] 948(5.6%) 516(3.0%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [77] 45.6% ----------------------------------------------------------------------- ??? [76] 100.0% [77] 432(2.5%) 432(2.5%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 -----------------------------------------------------------------------