Profiling results ----------------- Total cpu time observed: 28342ms (out of 28824ms) Number of samples taken: 121 (once every 234ms) (Hiding functions with self<1.0% and local<2.0%: 2 of 80 hidden) ==================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ==================================================================== ??? [6] 100.0% [1] 27684(97.7%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [3] 100.0% -------------------------------------------------------------------- ??? [6] 100.0% [2] 1684(5.9%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [4] 61.9% iterate-egraph!5 [7] 26.2% for-loop [5] 11.9% -------------------------------------------------------------------- profile-thunk14 [1] 100.0% [3] 27684(97.7%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [6] 100.0% -------------------------------------------------------------------- simplify [2] 100.0% [4] 1042(3.7%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [7] 100.0% -------------------------------------------------------------------- simplify [2] 100.0% [5] 200(0.7%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [7] 100.0% -------------------------------------------------------------------- for-loop [29] 2.1% run [3] 48.0% [6] 28342(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 48.0% loop [10] 34.5% run-improve58 [8] 15.4% simplify [2] 2.1% -------------------------------------------------------------------- for-loop [5] 11.9% simplify [2] 26.2% simplify-expr [4] 61.9% [7] 1684(5.9%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [9] 100.0% -------------------------------------------------------------------- ??? [6] 100.0% [8] 9236(32.6%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [11] 62.7% for-loop [12] 31.4% loop [10] 6.0% -------------------------------------------------------------------- iterate-egraph!5 [7] 100.0% [9] 1684(5.9%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [13] 48.8% loop [14] 38.1% apply-match [18] 13.1% -------------------------------------------------------------------- run-improve58 [8] 2.8% ??? [6] 97.2% [10] 19658(69.4%) 226(0.8%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [19] 54.9% loop [15] 41.1% loop [20] 2.8% -------------------------------------------------------------------- run-improve58 [8] 100.0% [11] 5788(20.4%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [16] 100.0% -------------------------------------------------------------------- run-improve58 [8] 100.0% [12] 2896(10.2%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [17] 100.0% -------------------------------------------------------------------- for-loop [13] 50.0% one-iter [9] 50.0% [13] 822(2.9%) 622(2.2%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [13] 50.0% match-e [24] 12.2% -------------------------------------------------------------------- one-iter [9] 100.0% [14] 642(2.3%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [18] 100.0% -------------------------------------------------------------------- loop [10] 100.0% [15] 8082(28.5%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [20] 72.1% make-exacts* [19] 27.9% -------------------------------------------------------------------- get-final-combination [11] 100.0% [16] 5788(20.4%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [21] 100.0% -------------------------------------------------------------------- for-loop [12] 100.0% [17] 2896(10.2%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [22] 58.1% finalize-iter! [23] 35.1% gen-series! [27] 6.8% -------------------------------------------------------------------- one-iter [9] 25.5% loop [14] 74.5% [18] 862(3.0%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 merge-egraph-nodes! [25] 25.8% match-e [24] 25.5% substitute-e [31] 25.5% for-loop [26] 23.2% -------------------------------------------------------------------- loop [15] 17.3% loop [10] 82.7% [19] 13054(46.1%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 loop [52] 51.4% map [28] 48.6% -------------------------------------------------------------------- loop [10] 8.7% loop [15] 91.3% [20] 6378(22.5%) 220(0.8%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [28] 79.0% loop [52] 17.6% -------------------------------------------------------------------- split-table [16] 100.0% [21] 5788(20.4%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [53] 85.4% loop [52] 14.6% -------------------------------------------------------------------- run-iter! [17] 100.0% [22] 1684(5.9%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [29] 100.0% -------------------------------------------------------------------- run-iter! [17] 100.0% [23] 1016(3.6%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [30] 100.0% -------------------------------------------------------------------- for-loop [39] 26.2% apply-match [18] 26.2% for-loop [13] 47.6% [24] 420(1.5%) 200(0.7%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [34] 52.4% -------------------------------------------------------------------- for-loop [33] 50.0% apply-match [18] 50.0% [25] 222(0.8%) 0(0.0%) merge-egraph-nodes! ...e/src/core/egraph.rkt:152:0 for-loop [33] 50.0% loop! [32] 50.0% -------------------------------------------------------------------- apply-match [18] 100.0% [26] 200(0.7%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:136:10 substitute-e [31] 100.0% -------------------------------------------------------------------- run-iter! [17] 100.0% [27] 196(0.7%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [35] 100.0% -------------------------------------------------------------------- f94 [51] 1.7% loop [20] 43.5% make-exacts* [19] 54.8% [28] 11572(40.8%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [52] 98.3% f94 [51] 1.7% -------------------------------------------------------------------- simplify! [22] 100.0% [29] 1684(5.9%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [6] 100.0% -------------------------------------------------------------------- finalize-iter! [23] 100.0% [30] 1016(3.6%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [36] 60.8% atab-add-altns [37] 39.2% -------------------------------------------------------------------- for-loop [26] 15.9% apply-match [18] 26.2% substitute-e [31] 57.9% [31] 420(1.5%) 420(1.5%) substitute-e ...ck/herbie/src/core/ematch.rkt:71:0 substitute-e [31] 57.9% -------------------------------------------------------------------- merge-egraph-nodes! [25] 100.0% [32] 222(0.8%) 0(0.0%) loop! .../ztatlock/herbie/src/core/enode.rkt:163:2 custom-set-union [38] 100.0% -------------------------------------------------------------------- merge-egraph-nodes! [25] 100.0% [33] 222(0.8%) 0(0.0%) for-loop ...lock/herbie/src/core/egraph.rkt:200:10 merge-egraph-nodes! [25] 100.0% -------------------------------------------------------------------- match-e [24] 100.0% [34] 220(0.8%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 for-loop [39] 50.0% loop [52] 50.0% -------------------------------------------------------------------- gen-series! [27] 100.0% [35] 196(0.7%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [40] 100.0% -------------------------------------------------------------------- ??? [30] 100.0% [36] 618(2.2%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [41] 100.0% -------------------------------------------------------------------- ??? [30] 100.0% [37] 398(1.4%) 0(0.0%) atab-add-altns ...rbie/src/core/alt-table.rkt:50:0 atab-add-altn [41] 100.0% -------------------------------------------------------------------- loop! [32] 100.0% [38] 222(0.8%) 0(0.0%) custom-set-union ...et/private/set-types.rkt:168:0 for-loop [42] 100.0% -------------------------------------------------------------------- for-loop [34] 100.0% [39] 220(0.8%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [24] 100.0% -------------------------------------------------------------------- for-loop [35] 100.0% [40] 196(0.7%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [43] 100.0% -------------------------------------------------------------------- atab-add-altns [37] 39.2% for-loop [36] 60.8% [41] 1016(3.6%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [44]100.0% -------------------------------------------------------------------- custom-set-union [38] 100.0% [42] 222(0.8%) 0(0.0%) for-loop ...cts/racket/private/set-types.rkt:174:3 for-loop [45] 100.0% -------------------------------------------------------------------- taylor-alt [40] 100.0% [43] 196(0.7%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [46] 100.0% -------------------------------------------------------------------- atab-add-altn [41] 100.0% [44] 1016(3.6%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [47] 80.3% for-loop [48] 19.7% -------------------------------------------------------------------- for-loop [42] 100.0% [45] 222(0.8%) 222(0.8%) for-loop ...cts/racket/private/set-types.rkt:178:5 -------------------------------------------------------------------- location-do [46] 50.0% for-loop [43] 50.0% [46] 196(0.7%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 location-do [46] 50.0% approximate9 [49] 50.0% -------------------------------------------------------------------- best-and-tied-at-points [44]100.0% [47] 816(2.9%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [50] 100.0% -------------------------------------------------------------------- best-and-tied-at-points [44]100.0% [48] 200(0.7%) 200(0.7%) for-loop ...k/herbie/src/core/alt-table.rkt:124:16 -------------------------------------------------------------------- location-do [46] 100.0% [49] 196(0.7%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 f94 [51] 100.0% -------------------------------------------------------------------- errors [47] 100.0% [50] 816(2.9%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [62] 50.5% ->flonum [66] 49.5% -------------------------------------------------------------------- map [28] 50.0% approximate9 [49] 50.0% [51] 196(0.7%) 0(0.0%) f94 ...t/collects/racket/match/compiler.rkt:499:40 map [28] 50.0% loop [52] 50.0% -------------------------------------------------------------------- loop [20] 0.1% make-exacts* [19] 0.2% map [28] 0.5% f94 [51] 1.0% for-loop [34] 1.1% infer-splitpoints4 [21] 4.1% loop [52] 93.0% [52] 20474(72.2%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [52] 93.0% option-on-expr [53] 4.1% ??? [62] 0.8% ->flonum [66] 0.0% -------------------------------------------------------------------- loop [52] 14.6% infer-splitpoints4 [21] 85.4% [53] 5788(20.4%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [54] 92.7% pick-errors [55] 7.3% -------------------------------------------------------------------- option-on-expr [53] 100.0% [54] 5364(18.9%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [56] 100.0% -------------------------------------------------------------------- option-on-expr [53] 100.0% [55] 424(1.5%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [57] 100.0% -------------------------------------------------------------------- sort-context-on-expr [54] 100.0% [56] 5364(18.9%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [58] 74.8% loop [60] 25.2% -------------------------------------------------------------------- pick-errors [55] 100.0% [57] 424(1.5%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [63] 100.0% -------------------------------------------------------------------- sort [56] 41.5% copying-mergesort [58] 58.5% [58] 4010(14.1%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [58] 58.5% loop [60] 22.0% jloop [59] 19.5% -------------------------------------------------------------------- copying-mergesort [58] 100.0% [59] 3128(11.0%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [61] 100.0% -------------------------------------------------------------------- copying-mergesort [58] 39.4% sort [56] 60.6% [60] 2236(7.9%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [61] 100.0% -------------------------------------------------------------------- loop [60] 41.7% jloop [59] 58.3% [61] 5364(18.9%) 222(0.8%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [63] 91.8% ??? [62] 4.1% -------------------------------------------------------------------- ??? [61] 1.1% for-loop [50] 2.1% loop [52] 96.7% [62] 19424(68.5%) 542(1.9%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [64] 86.1% real->bigfloat [65] 6.6% ??? [67] 2.4% ->flonum [66] 2.1% -------------------------------------------------------------------- for-loop [57] 7.9% ??? [61] 92.1% [63] 5346(18.9%) 4712(16.6%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 ??? [68] 7.9% go [69] 3.9% -------------------------------------------------------------------- ??? [62] 100.0% [64] 16726(59.0%) 220(0.8%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [70] 98.7% -------------------------------------------------------------------- ??? [62] 100.0% [65] 1274(4.5%) 1054(3.7%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [77] 17.3% -------------------------------------------------------------------- for-loop [50] 32.7% ??? [62] 33.3% loop [52] 34.0% [66] 1236(4.4%) 202(0.7%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [71] 49.7% ??? [73] 17.8% ??? [75] 16.2% -------------------------------------------------------------------- ??? [62] 100.0% [67] 470(1.7%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [75] 100.0% -------------------------------------------------------------------- eval-prog [63] 100.0% [68] 424(1.5%) 0(0.0%) ??? ...collects/racket/private/qq-and-or.rkt:155:9 ??? [72] 100.0% -------------------------------------------------------------------- eval-prog [63] 100.0% [69] 210(0.7%) 210(0.7%) go .../collects/racket/private/qq-and-or.rkt:50:20 -------------------------------------------------------------------- ??? [64] 100.0% [70] 16506(58.2%) 13026(46.0%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfhypot [74] 11.4% bftan [76] 5.5% ??? [75] 4.2% -------------------------------------------------------------------- ->flonum [66] 100.0% [71] 614(2.2%) 614(2.2%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 -------------------------------------------------------------------- ??? [68] 100.0% [72] 424(1.5%) 424(1.5%) ??? ...ollects/racket/private/qq-and-or.rkt:164:21 -------------------------------------------------------------------- ->flonum [66] 100.0% [73] 220(0.8%) 0(0.0%) ??? ...-racket/utils/simple-result-arrow.rkt:47:15 ??? [77] 100.0% -------------------------------------------------------------------- ??? [70] 100.0% [74] 1884(6.6%) 952(3.4%) bfhypot ...ib/math/private/bigfloat/mpfr.rkt:819:4 ??? [77] 49.5% -------------------------------------------------------------------- ->flonum [66] 14.7% ??? [67] 34.5% ??? [70] 50.9% [75] 1364(4.8%) 898(3.2%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [78] 34.2% -------------------------------------------------------------------- ??? [70] 100.0% [76] 902(3.2%) 902(3.2%) bftan ...-lib/math/private/bigfloat/mpfr.rkt:616:4 -------------------------------------------------------------------- ??? [73] 16.0% real->bigfloat [65] 16.0% bfhypot [74] 67.9% [77] 1372(4.8%) 1372(4.8%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 -------------------------------------------------------------------- ??? [75] 100.0% [78] 466(1.6%) 466(1.6%) ??? ...llects/racket/contract/combinator.rkt:178:4 --------------------------------------------------------------------