Profiling results ----------------- Total cpu time observed: 13650ms (out of 13840ms) Number of samples taken: 56 (once every 244ms) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [23] 100.0% [1] 13650(100.0%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [4] 100.0% ---------------------------------------------------------------------- ??? [23] 100.0% [2] 5762(42.2%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [6] 67.6% for-loop [7] 24.5% loop [5] 7.9% ---------------------------------------------------------------------- copying-mergesort [35] 100.0% [3] 1326(9.7%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [45] 100.0% ---------------------------------------------------------------------- profile-thunk14 [1] 100.0% [4] 13650(100.0%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [23] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 5.5% ??? [23] 94.5% [5] 8344(61.1%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [9] 39.8% make-exacts* [12] 39.5% loop [14] 18.1% for-loop [11] 2.7% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [6] 3896(28.5%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [8] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [7] 1410(10.3%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [10] 100.0% ---------------------------------------------------------------------- get-final-combination [6] 100.0% [8] 3896(28.5%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [13] 100.0% ---------------------------------------------------------------------- loop [5] 100.0% [9] 3318(24.3%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [14] 55.9% make-exacts* [12] 38.1% eval-prog [48] 6.0% ---------------------------------------------------------------------- for-loop [7] 100.0% [10] 1410(10.3%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [15] 66.8% gen-series! [16] 19.0% finalize-iter! [17] 14.2% ---------------------------------------------------------------------- loop [5] 100.0% [11] 226(1.7%) 226(1.7%) for-loop .../ztatlock/herbie/src/points.rkt:128:18 ---------------------------------------------------------------------- loop [9] 27.7% loop [5] 72.3% [12] 4556(33.4%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 loop [58] 59.5% map [18] 40.5% ---------------------------------------------------------------------- split-table [8] 100.0% [13] 3896(28.5%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [19] 100.0% ---------------------------------------------------------------------- loop [5] 44.9% loop [9] 55.1% [14] 3362(24.6%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [18] 100.0% ---------------------------------------------------------------------- run-iter! [10] 100.0% [15] 942(6.9%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [20] 100.0% ---------------------------------------------------------------------- run-iter! [10] 100.0% [16] 268(2.0%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [21] 100.0% ---------------------------------------------------------------------- run-iter! [10] 100.0% [17] 200(1.5%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [22] 100.0% ---------------------------------------------------------------------- make-exacts* [12] 35.4% loop [14] 64.6% [18] 5208(38.2%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [58] 95.7% ??? [60] 4.3% ---------------------------------------------------------------------- infer-splitpoints4 [13] 100.0% [19] 3896(28.5%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [24] 88.7% pick-errors [25] 11.3% ---------------------------------------------------------------------- simplify! [15] 100.0% [20] 942(6.9%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [23] 69.9% debug-print [26] 30.1% ---------------------------------------------------------------------- gen-series! [16] 100.0% [21] 268(2.0%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [27] 100.0% ---------------------------------------------------------------------- finalize-iter! [17] 100.0% [22] 200(1.5%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 atab-add-altns [28] 100.0% ---------------------------------------------------------------------- for-loop [20] 1.6% run [4] 49.2% [23] 13650(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 49.2% loop [5] 28.9% run-improve58 [2] 20.3% simplify [30] 1.6% ---------------------------------------------------------------------- option-on-expr [19] 100.0% [24] 3456(25.3%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [29] 100.0% ---------------------------------------------------------------------- option-on-expr [19] 100.0% [25] 440(3.2%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [31] 100.0% ---------------------------------------------------------------------- for-loop [20] 100.0% [26] 284(2.1%) 0(0.0%) debug-print ...ztatlock/herbie/src/debug.rkt:107:0 for-loop [32] 100.0% ---------------------------------------------------------------------- for-loop [21] 100.0% [27] 268(2.0%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [33] 100.0% ---------------------------------------------------------------------- ??? [22] 100.0% [28] 200(1.5%) 0(0.0%) atab-add-altns ...rbie/src/core/alt-table.rkt:50:0 atab-add-altn [34] 100.0% ---------------------------------------------------------------------- sort-context-on-expr [24] 100.0% [29] 3456(25.3%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [35] 75.6% loop [41] 24.4% ---------------------------------------------------------------------- ??? [23] 100.0% [30] 658(4.8%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [36] 69.6% for-loop [40] 30.4% ---------------------------------------------------------------------- pick-errors [25] 100.0% [31] 440(3.2%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [48] 100.0% ---------------------------------------------------------------------- debug-print [26] 100.0% [32] 284(2.1%) 0(0.0%) for-loop /home/ztatlock/herbie/src/debug.rkt:113:2 write-proc [37] 100.0% ---------------------------------------------------------------------- taylor-alt [27] 100.0% [33] 268(2.0%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [38] 100.0% ---------------------------------------------------------------------- atab-add-altns [28] 100.0% [34] 200(1.5%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [39] 100.0% ---------------------------------------------------------------------- sort [29] 36.1% copying-mergesort [35] 63.9% [35] 2614(19.2%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [35] 63.9% loop [41] 23.4% jloop [3] 12.7% ---------------------------------------------------------------------- simplify [30] 100.0% [36] 458(3.4%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [42] 100.0% ---------------------------------------------------------------------- for-loop [32] 100.0% [37] 284(2.1%) 284(2.1%) write-proc ...lock/herbie/src/alternative.rkt:22:9 ---------------------------------------------------------------------- for-loop [33] 100.0% [38] 268(2.0%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [43] 100.0% ---------------------------------------------------------------------- atab-add-altn [34] 100.0% [39] 200(1.5%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 for-loop [44] 100.0% ---------------------------------------------------------------------- simplify [30] 100.0% [40] 200(1.5%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [42] 100.0% ---------------------------------------------------------------------- sort [29] 39.5% copying-mergesort [35] 60.5% [41] 2130(15.6%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [45] 100.0% ---------------------------------------------------------------------- for-loop [40] 30.4% simplify-expr [36] 69.6% [42] 658(4.8%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [46] 100.0% ---------------------------------------------------------------------- location-do [38] 100.0% [43] 268(2.0%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [47] 100.0% ---------------------------------------------------------------------- best-and-tied-at-points [39] 100.0% [44] 200(1.5%) 200(1.5%) for-loop ...k/herbie/src/core/alt-table.rkt:124:16 ---------------------------------------------------------------------- jloop [3] 38.4% loop [41] 61.6% [45] 3456(25.3%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [48] 93.6% ??? [60] 6.4% ---------------------------------------------------------------------- iterate-egraph!5 [42] 100.0% [46] 658(4.8%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [49] 69.6% apply-match [50] 30.4% ---------------------------------------------------------------------- approximate9 [43] 100.0% [47] 268(2.0%) 268(2.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 ---------------------------------------------------------------------- loop [9] 5.2% for-loop [31] 11.4% ??? [45] 83.5% [48] 3874(28.4%) 3432(25.1%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 parse-app [51] 6.2% hash-ref! [53] 5.2% ---------------------------------------------------------------------- for-loop [49] 50.0% one-iter [46] 50.0% [49] 458(3.4%) 238(1.7%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [49] 50.0% match-e [52] 24.0% ---------------------------------------------------------------------- one-iter [46] 100.0% [50] 200(1.5%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 for-loop [54] 100.0% ---------------------------------------------------------------------- eval-prog [48] 100.0% [51] 240(1.8%) 0(0.0%) parse-app .../collects/racket/private/kw.rkt:903:2 loop [55] 100.0% ---------------------------------------------------------------------- for-loop [49] 100.0% [52] 220(1.6%) 220(1.6%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 ---------------------------------------------------------------------- loop [58] 50.0% eval-prog [48] 50.0% [53] 202(1.5%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [56] 100.0% ---------------------------------------------------------------------- apply-match [50] 100.0% [54] 200(1.5%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:136:10 substitute-e [57] 100.0% ---------------------------------------------------------------------- parse-app [51] 100.0% [55] 240(1.8%) 240(1.8%) loop .../collects/racket/private/stxcase.rkt:112:7 ---------------------------------------------------------------------- hash-ref! [53] 100.0% [56] 202(1.5%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [58] 100.0% ---------------------------------------------------------------------- substitute-e [57] 50.0% for-loop [54] 50.0% [57] 200(1.5%) 0(0.0%) substitute-e ...ck/herbie/src/core/ematch.rkt:71:0 substitute-e [57] 50.0% variable? [59] 50.0% ---------------------------------------------------------------------- make-exacts* [12] 0.7% ??? [56] 2.6% map [18] 4.1% loop [58] 92.7% [58] 7898(57.9%) 202(1.5%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [58] 92.7% ??? [60] 4.6% hash-ref! [53] 1.3% ->flonum [61] 0.1% ---------------------------------------------------------------------- substitute-e [57] 100.0% [59] 200(1.5%) 200(1.5%) variable? ...ck/herbie/src/syntax/syntax.rkt:218:0 ---------------------------------------------------------------------- ??? [45] 3.1% map [18] 3.1% loop [58] 93.8% [60] 7132(52.2%) 1130(8.3%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [62] 45.5% real->bigfloat [63] 32.6% ??? [71] 6.1% ---------------------------------------------------------------------- loop [58] 100.0% [61] 1008(7.4%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [73] 50.6% ??? [64] 26.8% ??? [65] 22.6% ---------------------------------------------------------------------- ??? [60] 100.0% [62] 3248(23.8%) 0(0.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ...higher-order.rkt:373:33 [66] 56.5% ??? [70] 35.8% bf* [68] 7.7% ---------------------------------------------------------------------- ??? [60] 100.0% [63] 2322(17.0%) 2126(15.6%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [67] 8.4% ---------------------------------------------------------------------- ->flonum [61] 100.0% [64] 270(2.0%) 0(0.0%) ??? ...-racket/utils/simple-result-arrow.rkt:47:15 ??? [67] 100.0% ---------------------------------------------------------------------- ->flonum [61] 100.0% [65] 228(1.7%) 228(1.7%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ---------------------------------------------------------------------- ??? [62] 100.0% [66] 1836(13.5%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [69] 86.8% ??? [71] 13.2% ---------------------------------------------------------------------- real->bigfloat [63] 42.1% ??? [64] 57.9% [67] 466(3.4%) 466(3.4%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- ??? [62] 100.0% [68] 250(1.8%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [70] 100.0% ---------------------------------------------------------------------- ...higher-order.rkt:373:33 [66]100.0% [69] 1594(11.7%) 236(1.7%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [71] 85.2% ---------------------------------------------------------------------- bf* [68] 17.7% ??? [62] 82.3% [70] 1412(10.3%) 0(0.0%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfadd [72] 51.4% ??? [73] 48.6% ---------------------------------------------------------------------- ...higher-order.rkt:373:33 [66] 11.9% ??? [60] 21.3% ??? [69] 66.8% [71] 2032(14.9%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [73] 100.0% ---------------------------------------------------------------------- ??? [70] 100.0% [72] 726(5.3%) 726(5.3%) bfadd ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ---------------------------------------------------------------------- ->flonum [61] 15.8% ??? [70] 21.3% ??? [71] 62.9% [73] 3228(23.6%) 2090(15.3%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [74] 35.3% ---------------------------------------------------------------------- ??? [73] 100.0% [74] 1138(8.3%) 668(4.9%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [75] 41.3% ---------------------------------------------------------------------- ??? [74] 100.0% [75] 470(3.4%) 470(3.4%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ----------------------------------------------------------------------