Profiling results ----------------- Total cpu time observed: 26754ms (out of 27264ms) Number of samples taken: 105 (once every 255ms) (Hiding functions with self<1.0% and local<2.0%: 2 of 76 hidden) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [23] 100.0% [1] 25872(96.7%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [5] 100.0% ---------------------------------------------------------------------- ??? [23] 100.0% [2] 6236(23.3%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [6] 64.5% for-loop [7] 26.6% loop [29] 4.7% errors [44] 4.1% ---------------------------------------------------------------------- copying-mergesort [36] 100.0% [3] 1054(3.9%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [47] 100.0% ---------------------------------------------------------------------- location-do [39] 100.0% [4] 220(0.8%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [8] 100.0% ---------------------------------------------------------------------- profile-thunk14 [1] 99.2% [5] 26074(97.5%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [23] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [6] 4022(15.0%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [9] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [7] 1660(6.2%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [10] 100.0% ---------------------------------------------------------------------- approximate9 [4] 100.0% [8] 220(0.8%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [11] 100.0% ---------------------------------------------------------------------- get-final-combination [6] 100.0% [9] 4022(15.0%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [12] 100.0% ---------------------------------------------------------------------- for-loop [7] 100.0% [10] 1660(6.2%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [13] 49.5% finalize-iter! [14] 37.2% gen-series! [15] 13.3% ---------------------------------------------------------------------- ??? [17] 50.0% loop [8] 50.0% [11] 220(0.8%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [17] 50.0% simplify [16] 50.0% ---------------------------------------------------------------------- split-table [9] 100.0% [12] 4022(15.0%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [18] 58.0% loop [50] 42.0% ---------------------------------------------------------------------- run-iter! [10] 100.0% [13] 822(3.1%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [19] 100.0% ---------------------------------------------------------------------- run-iter! [10] 100.0% [14] 618(2.3%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [20] 100.0% ---------------------------------------------------------------------- run-iter! [10] 100.0% [15] 220(0.8%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [21] 100.0% ---------------------------------------------------------------------- hash-ref! [11] 100.0% [16] 220(0.8%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 f16 [22] 100.0% ---------------------------------------------------------------------- hash-ref! [11] 100.0% [17] 220(0.8%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [11] 100.0% ---------------------------------------------------------------------- loop [50] 42.0% infer-splitpoints4 [12] 58.0% [18] 4022(15.0%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [24] 89.2% err-lsts->split-indices [26] 5.5% errors [44] 5.3% ---------------------------------------------------------------------- simplify! [13] 100.0% [19] 822(3.1%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [23] 100.0% ---------------------------------------------------------------------- finalize-iter! [14] 100.0% [20] 618(2.3%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [25] 67.6% atab-add-altns [28] 32.4% ---------------------------------------------------------------------- gen-series! [15] 100.0% [21] 220(0.8%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [27] 100.0% ---------------------------------------------------------------------- simplify [16] 100.0% [22] 220(0.8%) 0(0.0%) f16 ...t/collects/racket/match/compiler.rkt:499:40 map [46] 100.0% ---------------------------------------------------------------------- for-loop [19] 1.0% run [5] 48.6% [23] 26754(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 47.8% loop [29] 40.0% run-improve58 [2] 11.1% simplify [31] 1.0% ---------------------------------------------------------------------- option-on-expr [18] 100.0% [24] 3588(13.4%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [30] 100.0% ---------------------------------------------------------------------- ??? [20] 100.0% [25] 418(1.6%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [32] 100.0% ---------------------------------------------------------------------- option-on-expr [18] 100.0% [26] 222(0.8%) 0(0.0%) err-lsts->split-indices .../core/regimes.rkt:224:0 for-loop [33] 100.0% ---------------------------------------------------------------------- for-loop [21] 100.0% [27] 220(0.8%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [34] 100.0% ---------------------------------------------------------------------- ??? [20] 100.0% [28] 200(0.7%) 0(0.0%) atab-add-altns ...rbie/src/core/alt-table.rkt:50:0 atab-add-altn [32] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 1.4% ??? [23] 98.6% [29] 20814(77.8%) 206(0.8%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [35] 46.9% make-exacts* [41] 38.9% loop [42] 12.2% ---------------------------------------------------------------------- sort-context-on-expr [24] 100.0% [30] 3588(13.4%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [36] 70.6% loop [43] 29.4% ---------------------------------------------------------------------- ??? [23] 100.0% [31] 822(3.1%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 for-loop [38] 74.5% simplify-expr [40] 25.5% ---------------------------------------------------------------------- atab-add-altns [28] 32.4% for-loop [25] 67.6% [32] 618(2.3%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [37] 100.0% ---------------------------------------------------------------------- err-lsts->split-indices [26] 100.0% [33] 222(0.8%) 222(0.8%) for-loop ...lock/herbie/src/core/regimes.rkt:262:4 ---------------------------------------------------------------------- taylor-alt [27] 100.0% [34] 220(0.8%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [39] 100.0% ---------------------------------------------------------------------- loop [29] 100.0% [35] 9762(36.5%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [42] 64.9% make-exacts* [41] 35.1% ---------------------------------------------------------------------- sort [30] 38.1% copying-mergesort [36] 61.9% [36] 2532(9.5%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [36] 61.9% loop [43] 27.7% jloop [3] 10.4% ---------------------------------------------------------------------- atab-add-altn [32] 100.0% [37] 618(2.3%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [44] 100.0% ---------------------------------------------------------------------- simplify [31] 100.0% [38] 612(2.3%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [45] 100.0% ---------------------------------------------------------------------- for-loop [34] 25.0% location-do [39] 75.0% [39] 220(0.8%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 location-do [39] 75.0% approximate9 [4] 25.0% ---------------------------------------------------------------------- simplify [31] 100.0% [40] 210(0.8%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [45] 100.0% ---------------------------------------------------------------------- loop [35] 29.7% loop [29] 70.3% [41] 11526(43.1%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [46] 60.0% loop [50] 40.0% ---------------------------------------------------------------------- loop [29] 28.6% loop [35] 71.4% [42] 8880(33.2%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [46] 100.0% ---------------------------------------------------------------------- sort [30] 41.7% copying-mergesort [36] 58.3% [43] 2534(9.5%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [47] 100.0% ---------------------------------------------------------------------- option-on-expr [18] 19.5% run-improve58 [2] 23.7% best-and-tied-at-points [37] 56.8% [44] 1088(4.1%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [48] 76.3% eval-prog [51] 23.7% ---------------------------------------------------------------------- simplify-expr [40] 25.5% for-loop [38] 74.5% [45] 822(3.1%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [49] 100.0% ---------------------------------------------------------------------- f16 [22] 1.4% make-exacts* [41] 43.2% loop [42] 55.4% [46] 16018(59.9%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [50] 94.2% ??? [54] 4.4% ---------------------------------------------------------------------- jloop [3] 29.4% loop [43] 70.6% [47] 3588(13.4%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [51] 88.5% ??? [54] 11.5% ---------------------------------------------------------------------- errors [44] 100.0% [48] 830(3.1%) 216(0.8%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [54] 49.6% ??? [53] 24.3% ---------------------------------------------------------------------- iterate-egraph!5 [45] 100.0% [49] 822(3.1%) 208(0.8%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [52] 74.7% ---------------------------------------------------------------------- make-exacts* [41] 1.0% ??? [54] 1.3% map [46] 1.8% infer-splitpoints4 [12] 7.8% loop [50] 88.0% [50] 21590(80.7%) 766(2.9%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [50] 88.0% option-on-expr [18] 7.8% ??? [54] 2.8% ->flonum [58] 1.0% real->bigfloat [57] 0.2% ??? [68] 0.1% ---------------------------------------------------------------------- errors [44] 7.5% ??? [47] 92.5% [51] 3434(12.8%) 3434(12.8%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 ---------------------------------------------------------------------- for-loop [52] 50.0% one-iter [49] 50.0% [52] 614(2.3%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [52] 50.0% match-e [55] 50.0% ---------------------------------------------------------------------- for-loop [48] 100.0% [53] 202(0.8%) 202(0.8%) ??? ...ket/collects/racket/private/for.rkt:1150:14 ---------------------------------------------------------------------- for-loop [48] 2.0% ??? [47] 2.0% map [46] 3.4% loop [50] 92.6% [54] 20808(77.8%) 928(3.5%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [56] 38.0% real->bigfloat [57] 27.1% loop [50] 20.2% ??? [68] 9.1% ->flonum [58] 1.0% ---------------------------------------------------------------------- for-loop [52] 100.0% [55] 614(2.3%) 412(1.5%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [59] 32.9% ---------------------------------------------------------------------- ??? [54] 100.0% [56] 7914(29.6%) 426(1.6%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [65] 67.1% bf* [60] 21.7% ...higher-order.rkt:373:33 [61] 5.8% ---------------------------------------------------------------------- loop [50] 28.1% ??? [54] 71.9% [57] 7852(29.3%) 6168(23.1%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [72] 21.4% ---------------------------------------------------------------------- ??? [54] 25.2% loop [50] 74.8% [58] 840(3.1%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [62] 49.8% ??? [63] 26.7% ??? [71] 23.6% ---------------------------------------------------------------------- match-e [55] 100.0% [59] 202(0.8%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 ??? [64] 100.0% ---------------------------------------------------------------------- ??? [56] 100.0% [60] 1720(6.4%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [65] 100.0% ---------------------------------------------------------------------- ??? [56] 100.0% [61] 458(1.7%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [68] 50.2% ??? [66] 49.8% ---------------------------------------------------------------------- ->flonum [58] 100.0% [62] 418(1.6%) 418(1.6%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ---------------------------------------------------------------------- ->flonum [58] 100.0% [63] 224(0.8%) 0(0.0%) ??? ...-racket/utils/simple-result-arrow.rkt:47:15 ??? [72] 100.0% ---------------------------------------------------------------------- for-loop [59] 100.0% [64] 202(0.8%) 0(0.0%) ??? /home/ztatlock/herbie/src/core/ematch.rkt:50:5 for-loop [67] 100.0% ---------------------------------------------------------------------- bf* [60] 24.5% ??? [56] 75.5% [65] 7030(26.3%) 1188(4.4%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfsqrt [69] 36.8% bfsub [70] 30.5% ??? [71] 15.8% ---------------------------------------------------------------------- ...higher-order.rkt:373:33 [61]100.0% [66] 228(0.9%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [68] 100.0% ---------------------------------------------------------------------- ??? [64] 100.0% [67] 202(0.8%) 202(0.8%) for-loop ...atlock/herbie/src/core/ematch.rkt:51:7 ---------------------------------------------------------------------- ??? [66] 6.7% ...higher-order.rkt:373:33 [61] 6.8% loop [50] 30.5% ??? [54] 56.0% [68] 3388(12.7%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [71] 100.0% ---------------------------------------------------------------------- ??? [65] 100.0% [69] 2588(9.7%) 1684(6.3%) bfsqrt ...lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [72] 34.9% ---------------------------------------------------------------------- ??? [65] 100.0% [70] 2142(8.0%) 1374(5.1%) bfsub ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [72] 35.9% ---------------------------------------------------------------------- ->flonum [58] 4.2% ??? [65] 23.7% ??? [68] 72.1% [71] 4698(17.6%) 1906(7.1%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [73] 59.4% ---------------------------------------------------------------------- ??? [63] 6.3% bfsub [70] 21.5% bfsqrt [69] 25.3% real->bigfloat [57] 47.0% [72] 3580(13.4%) 3580(13.4%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- ??? [71] 100.0% [73] 2792(10.4%) 1008(3.8%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [74] 63.9% ---------------------------------------------------------------------- ??? [73] 100.0% [74] 1784(6.7%) 1784(6.7%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ----------------------------------------------------------------------