Profiling results ----------------- Total cpu time observed: 12246ms (out of 12596ms) Number of samples taken: 47 (once every 261ms) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [5] 100.0% [1] 12246(100.0%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [3] 100.0% ---------------------------------------------------------------------- f37 [55] 100.0% [2] 244(2.0%) 0(0.0%) taylor-invert .../herbie/src/core/taylor.rkt:312:0 first-nonzero-exp [4] 100.0% ---------------------------------------------------------------------- profile-thunk14 [1] 100.0% [3] 12246(100.0%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [5] 100.0% ---------------------------------------------------------------------- taylor-invert [2] 100.0% [4] 244(2.0%) 0(0.0%) first-nonzero-exp ...bie/src/core/taylor.rkt:260:0 simplify [6] 100.0% ---------------------------------------------------------------------- for-loop [28] 3.5% run [3] 48.3% [5] 12246(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 48.3% loop [7] 31.8% run-improve58 [8] 16.5% simplify [9] 3.5% ---------------------------------------------------------------------- first-nonzero-exp [4] 100.0% [6] 244(2.0%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 f37 [55] 100.0% ---------------------------------------------------------------------- ??? [5] 100.0% [7] 7784(63.6%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [15] 49.1% loop [10] 37.9% loop [16] 13.0% ---------------------------------------------------------------------- ??? [5] 100.0% [8] 4462(36.4%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [11] 55.8% for-loop [12] 44.2% ---------------------------------------------------------------------- ??? [5] 100.0% [9] 1284(10.5%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [13] 50.2% for-loop [14] 34.3% iterate-egraph!5 [19] 15.6% ---------------------------------------------------------------------- loop [7] 100.0% [10] 2952(24.1%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [16] 59.3% make-exacts* [15] 40.7% ---------------------------------------------------------------------- run-improve58 [8] 100.0% [11] 2490(20.3%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [17] 100.0% ---------------------------------------------------------------------- run-improve58 [8] 100.0% [12] 1972(16.1%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [18] 100.0% ---------------------------------------------------------------------- simplify [9] 100.0% [13] 644(5.3%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [19] 100.0% ---------------------------------------------------------------------- simplify [9] 100.0% [14] 440(3.6%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [19] 100.0% ---------------------------------------------------------------------- loop [10] 23.9% loop [7] 76.1% [15] 5022(41.0%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [20] 55.9% loop [26] 40.3% eval-prog [58] 3.8% ---------------------------------------------------------------------- loop [7] 36.6% loop [10] 63.4% [16] 2762(22.6%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [20] 100.0% ---------------------------------------------------------------------- get-final-combination [11] 100.0% [17] 2490(20.3%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [21] 100.0% ---------------------------------------------------------------------- for-loop [12] 100.0% [18] 1972(16.1%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [23] 65.1% finalize-iter! [24] 22.5% gen-series! [25] 12.4% ---------------------------------------------------------------------- simplify [9] 15.6% for-loop [14] 34.3% simplify-expr [13] 50.2% [19] 1284(10.5%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [22] 100.0% ---------------------------------------------------------------------- loop [16] 49.6% make-exacts* [15] 50.4% [20] 5568(45.5%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [26] 97.5% ??? [57] 2.5% ---------------------------------------------------------------------- split-table [17] 100.0% [21] 2490(20.3%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [27] 100.0% ---------------------------------------------------------------------- iterate-egraph!5 [19] 100.0% [22] 1284(10.5%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [29] 82.9% apply-match [32] 17.1% ---------------------------------------------------------------------- run-iter! [18] 100.0% [23] 1284(10.5%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [28] 100.0% ---------------------------------------------------------------------- run-iter! [18] 100.0% [24] 444(3.6%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [30] 100.0% ---------------------------------------------------------------------- run-iter! [18] 100.0% [25] 244(2.0%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [31] 100.0% ---------------------------------------------------------------------- make-exacts* [15] 0.0% map [20] 0.9% loop [26] 99.1% [26] 7454(60.9%) 100(0.8%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [26] 99.1% ??? [57] 0.9% ->flonum [61] 0.0% ---------------------------------------------------------------------- infer-splitpoints4 [21] 100.0% [27] 2490(20.3%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [33] 91.2% pick-errors [38] 8.8% ---------------------------------------------------------------------- simplify! [23] 100.0% [28] 1284(10.5%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [5] 100.0% ---------------------------------------------------------------------- for-loop [29] 40.5% one-iter [22] 59.5% [29] 1064(8.7%) 844(6.9%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [29] 40.5% match-e [37] 10.3% ---------------------------------------------------------------------- finalize-iter! [24] 100.0% [30] 444(3.6%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 atab-add-altns [35] 54.5% for-loop [39] 45.5% ---------------------------------------------------------------------- gen-series! [25] 100.0% [31] 244(2.0%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [34] 100.0% ---------------------------------------------------------------------- one-iter [22] 100.0% [32] 220(1.8%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 merge-egraph-nodes! [36] 100.0% ---------------------------------------------------------------------- option-on-expr [27] 100.0% [33] 2270(18.5%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [40] 100.0% ---------------------------------------------------------------------- for-loop [31] 100.0% [34] 244(2.0%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [42] 100.0% ---------------------------------------------------------------------- ??? [30] 100.0% [35] 242(2.0%) 0(0.0%) atab-add-altns ...rbie/src/core/alt-table.rkt:50:0 atab-add-altn [41] 100.0% ---------------------------------------------------------------------- apply-match [32] 100.0% [36] 220(1.8%) 0(0.0%) merge-egraph-nodes! ...e/src/core/egraph.rkt:152:0 update-leader! [43] 100.0% ---------------------------------------------------------------------- for-loop [29] 100.0% [37] 220(1.8%) 0(0.0%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [44] 100.0% ---------------------------------------------------------------------- option-on-expr [27] 100.0% [38] 220(1.8%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [45] 100.0% ---------------------------------------------------------------------- ??? [30] 100.0% [39] 202(1.6%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [41] 100.0% ---------------------------------------------------------------------- sort-context-on-expr [33] 100.0% [40] 2270(18.5%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [46] 91.1% loop [51] 8.9% ---------------------------------------------------------------------- for-loop [39] 45.5% atab-add-altns [35] 54.5% [41] 444(3.6%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [47] 100.0% ---------------------------------------------------------------------- taylor-alt [34] 100.0% [42] 244(2.0%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [48] 100.0% ---------------------------------------------------------------------- merge-egraph-nodes! [36] 100.0% [43] 220(1.8%) 220(1.8%) update-leader! ...herbie/src/core/egraph.rkt:217:0 ---------------------------------------------------------------------- match-e [37] 100.0% [44] 220(1.8%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 list-cartesian-product [49] 100.0% ---------------------------------------------------------------------- pick-errors [38] 100.0% [45] 220(1.8%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [58] 100.0% ---------------------------------------------------------------------- sort [40] 36.4% copying-mergesort [46] 63.6% [46] 2068(16.9%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [46] 63.6% jloop [50] 19.4% loop [51] 17.0% ---------------------------------------------------------------------- atab-add-altn [41] 100.0% [47] 444(3.6%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [52] 100.0% ---------------------------------------------------------------------- for-loop [42] 100.0% [48] 244(2.0%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [53] 100.0% ---------------------------------------------------------------------- list-cartesian-product [49] 50.0% for-loop [44] 50.0% [49] 220(1.8%) 220(1.8%) list-cartesian-product ...src/core/ematch.rkt:20:0 list-cartesian-product [49] 50.0% ---------------------------------------------------------------------- copying-mergesort [46] 100.0% [50] 1606(13.1%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [54] 100.0% ---------------------------------------------------------------------- sort [40] 30.4% copying-mergesort [46] 69.6% [51] 664(5.4%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [54] 100.0% ---------------------------------------------------------------------- best-and-tied-at-points [47] 100.0% [52] 444(3.6%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 eval-prog [58] 54.5% for-loop [56] 45.5% ---------------------------------------------------------------------- location-do [48] 100.0% [53] 244(2.0%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 f37 [55] 100.0% ---------------------------------------------------------------------- loop [51] 29.3% jloop [50] 70.7% [54] 2270(18.5%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [58] 100.0% ---------------------------------------------------------------------- simplify [6] 33.3% f37 [55] 33.3% approximate9 [53] 33.3% [55] 244(2.0%) 244(2.0%) f37 ...t/collects/racket/match/compiler.rkt:499:40 f37 [55] 33.3% taylor-invert [2] 33.3% ---------------------------------------------------------------------- errors [52] 100.0% [56] 202(1.6%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [57] 100.0% ---------------------------------------------------------------------- map [20] 1.9% for-loop [56] 2.7% loop [26] 95.4% [57] 7394(60.4%) 176(1.4%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 real->bigfloat [59] 48.3% ??? [60] 41.1% ??? [67] 2.8% new [62] 2.8% ->flonum [61] 2.7% ---------------------------------------------------------------------- make-exacts* [15] 6.6% for-loop [45] 7.5% errors [52] 8.3% ??? [54] 77.6% [58] 2924(23.9%) 2924(23.9%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 ---------------------------------------------------------------------- ??? [57] 100.0% [59] 3572(29.2%) 3334(27.2%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [69] 6.7% ---------------------------------------------------------------------- ??? [57] 100.0% [60] 3036(24.8%) 0(0.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [63] 60.8% ...higher-order.rkt:373:33 [64] 39.2% ---------------------------------------------------------------------- ??? [57] 40.2% loop [26] 59.8% [61] 502(4.1%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [68] 59.8% ??? [65] 40.2% ---------------------------------------------------------------------- ??? [57] 100.0% [62] 204(1.7%) 204(1.7%) new ...cket/contract/private/case-arrow.rkt:227:53 ---------------------------------------------------------------------- ??? [60] 100.0% [63] 1846(15.1%) 274(2.2%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfsqr [66] 85.2% ---------------------------------------------------------------------- ??? [60] 100.0% [64] 1190(9.7%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [67] 100.0% ---------------------------------------------------------------------- ->flonum [61] 100.0% [65] 202(1.6%) 202(1.6%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ---------------------------------------------------------------------- ??? [63] 100.0% [66] 1572(12.8%) 1082(8.8%) bfsqr ...-lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [69] 31.2% ---------------------------------------------------------------------- ??? [57] 14.6% ...higher-order.rkt:373:33 [64] 85.4% [67] 1394(11.4%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [68] 100.0% ---------------------------------------------------------------------- ->flonum [61] 17.7% ??? [67] 82.3% [68] 1694(13.8%) 1418(11.6%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [70] 16.3% ---------------------------------------------------------------------- real->bigfloat [59] 32.7% bfsqr [66] 67.3% [69] 728(5.9%) 728(5.9%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- ??? [68] 100.0% [70] 276(2.3%) 276(2.3%) ??? ...llects/racket/contract/combinator.rkt:178:4 ----------------------------------------------------------------------