Profiling results ----------------- Total cpu time observed: 22822ms (out of 23292ms) Number of samples taken: 93 (once every 245ms) (Hiding functions with self<1.0% and local<2.0%: 1 of 88 hidden) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [22] 100.0% [1] 22822(100.0%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [6] 100.0% ---------------------------------------------------------------------- ??? [22] 100.0% [2] 4702(20.6%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 for-loop [7] 53.9% get-final-combination [8] 46.1% ---------------------------------------------------------------------- copying-mergesort [36] 100.0% [3] 856(3.8%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [9] 100.0% ---------------------------------------------------------------------- hash-ref! [59] 100.0% [4] 616(2.7%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:338:33 hash-ref! [59] 67.5% for-loop [11] 32.5% ---------------------------------------------------------------------- location-do [38] 100.0% [5] 616(2.7%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [10] 100.0% ---------------------------------------------------------------------- profile-thunk14 [1] 100.0% [6] 22822(100.0%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [22] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [7] 2534(11.1%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [12] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [8] 2168(9.5%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [13] 100.0% ---------------------------------------------------------------------- loop [47] 34.0% jloop [3] 66.0% [9] 1296(5.7%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [55] 100.0% ---------------------------------------------------------------------- approximate9 [5] 100.0% [10] 616(2.7%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [59] 100.0% ---------------------------------------------------------------------- ??? [4] 100.0% [11] 200(0.9%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:341:46 hash-ref! [59] 100.0% ---------------------------------------------------------------------- for-loop [7] 100.0% [12] 2534(11.1%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [15] 50.2% finalize-iter! [16] 25.5% gen-series! [17] 24.3% ---------------------------------------------------------------------- get-final-combination [8] 100.0% [13] 2168(9.5%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [14] 80.4% ??? [20] 19.6% ---------------------------------------------------------------------- split-table [13] 100.0% [14] 1744(7.6%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [18] 100.0% ---------------------------------------------------------------------- run-iter! [12] 100.0% [15] 1272(5.6%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [19] 100.0% ---------------------------------------------------------------------- run-iter! [12] 100.0% [16] 646(2.8%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [20] 100.0% ---------------------------------------------------------------------- run-iter! [12] 100.0% [17] 616(2.7%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [21] 100.0% ---------------------------------------------------------------------- infer-splitpoints4 [14] 100.0% [18] 1744(7.6%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [23] 74.3% err-lsts->split-indices [27] 13.1% loop [70] 12.6% ---------------------------------------------------------------------- simplify! [15] 100.0% [19] 1272(5.6%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [22] 100.0% ---------------------------------------------------------------------- split-table [13] 39.6% finalize-iter! [16] 60.4% [20] 1070(4.7%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [24] 60.4% split-atab [26] 39.6% ---------------------------------------------------------------------- gen-series! [17] 100.0% [21] 616(2.7%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [25] 100.0% ---------------------------------------------------------------------- for-loop [19] 1.9% run [6] 49.1% [22] 22822(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 49.1% loop [28] 39.7% run-improve58 [2] 9.4% simplify [30] 1.9% ---------------------------------------------------------------------- option-on-expr [18] 100.0% [23] 1296(5.7%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [29] 100.0% ---------------------------------------------------------------------- ??? [20] 100.0% [24] 646(2.8%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [31] 100.0% ---------------------------------------------------------------------- for-loop [21] 100.0% [25] 616(2.7%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [32] 100.0% ---------------------------------------------------------------------- ??? [20] 100.0% [26] 424(1.9%) 0(0.0%) split-atab ...k/herbie/src/core/alt-table.rkt:74:0 for-loop [33] 100.0% ---------------------------------------------------------------------- option-on-expr [18] 100.0% [27] 228(1.0%) 0(0.0%) err-lsts->split-indices .../core/regimes.rkt:224:0 add-splitpoint [34] 100.0% ---------------------------------------------------------------------- ??? [22] 100.0% [28] 18120(79.4%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [43] 52.3% loop [35] 46.6% loop [44] 1.1% ---------------------------------------------------------------------- sort-context-on-expr [23] 100.0% [29] 1296(5.7%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [36] 83.0% loop [47] 17.0% ---------------------------------------------------------------------- ??? [22] 100.0% [30] 1272(5.6%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [37] 50.8% iterate-egraph!5 [45] 33.5% for-loop [42] 15.7% ---------------------------------------------------------------------- for-loop [24] 100.0% [31] 646(2.8%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [40] 65.6% loop [70] 34.4% ---------------------------------------------------------------------- taylor-alt [25] 100.0% [32] 616(2.7%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [38] 100.0% ---------------------------------------------------------------------- split-atab [26] 100.0% [33] 424(1.9%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:75:2 for-loop [39] 100.0% ---------------------------------------------------------------------- err-lsts->split-indices [27] 100.0% [34] 228(1.0%) 0(0.0%) add-splitpoint ...erbie/src/core/regimes.rkt:237:2 for-loop [41] 100.0% ---------------------------------------------------------------------- loop [28] 100.0% [35] 8444(37.0%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [44] 62.3% make-exacts* [43] 35.2% eval-prog [55] 2.5% ---------------------------------------------------------------------- sort [29] 26.7% copying-mergesort [36] 73.3% [36] 1076(4.7%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [36] 73.3% jloop [3] 19.9% loop [47] 6.8% ---------------------------------------------------------------------- simplify [30] 100.0% [37] 646(2.8%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [45] 100.0% ---------------------------------------------------------------------- for-loop [32] 22.0% location-do [38] 78.0% [38] 616(2.7%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 location-do [38] 78.0% approximate9 [5] 22.0% ---------------------------------------------------------------------- for-loop [33] 100.0% [39] 424(1.9%) 0(0.0%) for-loop ...ck/herbie/src/core/alt-table.rkt:80:53 loop [48] 100.0% ---------------------------------------------------------------------- atab-add-altn [31] 100.0% [40] 424(1.9%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [46] 100.0% ---------------------------------------------------------------------- add-splitpoint [34] 100.0% [41] 228(1.0%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:239:4 for-loop [49] 100.0% ---------------------------------------------------------------------- simplify [30] 100.0% [42] 200(0.9%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 loop [50] 100.0% ---------------------------------------------------------------------- loop [35] 23.9% loop [28] 76.1% [43] 12460(54.6%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [51] 55.9% loop [70] 42.1% eval-prog [55] 2.0% ---------------------------------------------------------------------- loop [28] 3.5% loop [35] 96.5% [44] 5450(23.9%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [51] 100.0% ---------------------------------------------------------------------- simplify [30] 39.7% simplify-expr [37] 60.3% [45] 1072(4.7%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [52] 100.0% ---------------------------------------------------------------------- loop [70] 34.2% best-and-tied-at-points [40] 65.8% [46] 644(2.8%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 eval-prog [55] 100.0% ---------------------------------------------------------------------- copying-mergesort [36] 50.0% sort [29] 50.0% [47] 440(1.9%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [9] 100.0% ---------------------------------------------------------------------- for-loop [39] 100.0% [48] 424(1.9%) 0(0.0%) loop ...ket/collects/racket/private/list.rkt:264:4 ??? [53] 100.0% ---------------------------------------------------------------------- for-loop [41] 100.0% [49] 228(1.0%) 228(1.0%) for-loop ...lock/herbie/src/core/regimes.rkt:243:8 ---------------------------------------------------------------------- for-loop [42] 100.0% [50] 200(0.9%) 0(0.0%) loop ...tatlock/herbie/src/core/simplify.rkt:203:2 pass [54] 100.0% ---------------------------------------------------------------------- parse-loop50 [74] 3.3% loop [44] 42.5% make-exacts* [43] 54.3% [51] 12836(56.2%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [70] 95.8% ??? [73] 3.4% parse-loop50 [74] 0.9% ---------------------------------------------------------------------- iterate-egraph!5 [45] 100.0% [52] 1072(4.7%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [56] 79.1% apply-match [57] 20.9% ---------------------------------------------------------------------- loop [48] 100.0% [53] 424(1.9%) 0(0.0%) ??? .../ztatlock/herbie/src/core/regimes.rkt:291:8 eval-prog [55] 100.0% ---------------------------------------------------------------------- loop [50] 100.0% [54] 200(0.9%) 0(0.0%) pass ...tatlock/herbie/src/core/simplify.rkt:193:2 for-loop [58] 100.0% ---------------------------------------------------------------------- loop [35] 7.4% make-exacts* [43] 8.9% ??? [53] 15.0% errors [46] 22.8% ??? [9] 45.9% [55] 2826(12.4%) 1942(8.5%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [59] 16.3% go [62] 7.8% new-lambda [63] 7.1% ---------------------------------------------------------------------- for-loop [56] 50.0% one-iter [52] 50.0% [56] 848(3.7%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [56] 50.0% match-e [60] 50.0% ---------------------------------------------------------------------- one-iter [52] 100.0% [57] 224(1.0%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 substitute-e [61] 100.0% ---------------------------------------------------------------------- pass [54] 100.0% [58] 200(0.9%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:196:29 for-loop [64] 100.0% ---------------------------------------------------------------------- for-loop [11] 6.2% ??? [4] 12.9% eval-prog [55] 15.6% ??? [65] 19.0% loop [10] 19.0% loop [70] 27.3% [59] 1078(4.7%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [68] 27.3% ??? [65] 19.0% ??? [4] 19.0% simplify [66] 19.0% bigfloat-hash [67] 15.6% ---------------------------------------------------------------------- for-loop [56] 100.0% [60] 848(3.7%) 648(2.8%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [69] 23.6% ---------------------------------------------------------------------- substitute-e [61] 50.0% apply-match [57] 50.0% [61] 224(1.0%) 224(1.0%) substitute-e ...ck/herbie/src/core/ematch.rkt:71:0 substitute-e [61] 50.0% ---------------------------------------------------------------------- eval-prog [55] 100.0% [62] 220(1.0%) 220(1.0%) go .../collects/racket/private/qq-and-or.rkt:50:20 ---------------------------------------------------------------------- eval-prog [55] 100.0% [63] 202(0.9%) 202(0.9%) new-lambda ...ollects/racket/private/kw.rkt:631:11 ---------------------------------------------------------------------- for-loop [58] 100.0% [64] 200(0.9%) 200(0.9%) for-loop ...ck/herbie/src/core/simplify.rkt:183:13 ---------------------------------------------------------------------- hash-ref! [59] 100.0% [65] 616(2.7%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [59] 100.0% ---------------------------------------------------------------------- hash-ref! [59] 100.0% [66] 616(2.7%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 parse-loop50 [74] 100.0% ---------------------------------------------------------------------- hash-ref! [59] 100.0% [67] 462(2.0%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 sig+exp->bigfloat [71] 54.5% bfcanonicalize [72] 45.5% ---------------------------------------------------------------------- hash-ref! [59] 100.0% [68] 462(2.0%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [70] 100.0% ---------------------------------------------------------------------- match-e [60] 100.0% [69] 200(0.9%) 200(0.9%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 ---------------------------------------------------------------------- make-exacts* [43] 0.1% parse-loop50 [74] 0.9% option-on-expr [18] 1.2% atab-add-altn [31] 1.2% ??? [68] 1.6% map [51] 2.3% loop [70] 92.8% [70] 18744(82.1%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [70] 92.8% ??? [73] 1.7% parse-loop50 [74] 1.6% hash-ref! [59] 1.6% errors [46] 1.2% ---------------------------------------------------------------------- bigfloat-hash [67] 100.0% [71] 252(1.1%) 252(1.1%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 ---------------------------------------------------------------------- bigfloat-hash [67] 100.0% [72] 210(0.9%) 210(0.9%) bfcanonicalize .../private/bigfloat/mpfr.rkt:155:0 ---------------------------------------------------------------------- map [51] 2.5% loop [70] 97.5% [73] 17658(77.4%) 448(2.0%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [75] 90.7% real->bigfloat [76] 6.8% ---------------------------------------------------------------------- map [51] 8.9% parse-loop50 [74] 19.5% simplify [66] 30.4% loop [70] 41.2% [74] 616(2.7%) 616(2.7%) parse-loop50 ...s/racket/match/compiler.rkt:410:15 map [51] 28.7% loop [70] 21.4% parse-loop50 [74] 19.5% ---------------------------------------------------------------------- ??? [73] 100.0% [75] 16008(70.1%) 0(0.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [77] 85.1% ...higher-order.rkt:373:33 [78] 13.5% ...higher-order.rkt:369:33 [79] 1.5% ---------------------------------------------------------------------- ??? [73] 100.0% [76] 1202(5.3%) 978(4.3%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [84] 18.6% ---------------------------------------------------------------------- ??? [75] 100.0% [77] 13616(59.7%) 6084(26.7%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfsqr [80] 31.1% bfdiv [81] 16.1% ??? [85] 8.1% ---------------------------------------------------------------------- ??? [75] 100.0% [78] 2158(9.5%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [83] 54.1% ??? [82] 45.9% ---------------------------------------------------------------------- ??? [75] 100.0% [79] 234(1.0%) 0(0.0%) ...higher-order.rkt:369:33 (unknown source) ??? [83] 100.0% ---------------------------------------------------------------------- ??? [77] 100.0% [80] 4238(18.6%) 3768(16.5%) bfsqr ...-lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [84] 11.1% ---------------------------------------------------------------------- ??? [77] 100.0% [81] 2186(9.6%) 1226(5.4%) bfdiv ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [84] 43.9% ---------------------------------------------------------------------- ...higher-order.rkt:373:33 [78]100.0% [82] 990(4.3%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [83] 100.0% ---------------------------------------------------------------------- ...higher-order.rkt:369:33 [79] 9.8% ??? [82] 41.4% ...higher-order.rkt:373:33 [78] 48.8% [83] 2392(10.5%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [85] 100.0% ---------------------------------------------------------------------- real->bigfloat [76] 13.5% bfsqr [80] 28.4% bfdiv [81] 58.0% [84] 1654(7.2%) 1654(7.2%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- ??? [77] 31.7% ??? [83] 68.3% [85] 3500(15.3%) 1644(7.2%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [86] 53.0% ---------------------------------------------------------------------- ??? [85] 100.0% [86] 1856(8.1%) 1660(7.3%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [87] 10.6% ---------------------------------------------------------------------- ??? [86] 100.0% [87] 196(0.9%) 196(0.9%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ----------------------------------------------------------------------