Profiling results ----------------- Total cpu time observed: 53034ms (out of 53864ms) Number of samples taken: 215 (once every 247ms) (Hiding functions with self<1.0% and local<2.0%: 2 of 102 hidden) ======================================================================= Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ======================================================================= ??? [28] 100.0% [1] 51772(97.6%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [7] 100.0% ----------------------------------------------------------------------- ??? [28] 100.0% [2] 5428(10.2%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 for-loop [8] 56.7% get-final-combination [9] 31.2% loop [34] 12.0% ----------------------------------------------------------------------- location-do [42] 100.0% [3] 1244(2.3%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [10] 83.9% f6 [78] 16.1% ----------------------------------------------------------------------- hash-ref! [68] 100.0% [4] 422(0.8%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:392:23 for-loop [11] 100.0% ----------------------------------------------------------------------- copying-mergesort [43] 100.0% [5] 414(0.8%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [58] 100.0% ----------------------------------------------------------------------- hash-ref! [68] 100.0% [6] 202(0.4%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:295:23 for-loop [12] 100.0% ----------------------------------------------------------------------- profile-thunk14 [1] 99.6% [7] 51990(98.0%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [28] 100.0% ----------------------------------------------------------------------- run-improve58 [2] 100.0% [8] 3080(5.8%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [13] 100.0% ----------------------------------------------------------------------- run-improve58 [2] 100.0% [9] 1694(3.2%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [14] 86.1% extract-alt [16] 13.9% ----------------------------------------------------------------------- approximate9 [3] 100.0% [10] 1044(2.0%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [68] 100.0% ----------------------------------------------------------------------- ??? [4] 100.0% [11] 422(0.8%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:396:33 for-loop [15] 100.0% ----------------------------------------------------------------------- ??? [6] 100.0% [12] 202(0.4%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:298:27 hash-ref! [68] 100.0% ----------------------------------------------------------------------- for-loop [8] 100.0% [13] 3080(5.8%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 gen-series! [18] 40.4% simplify! [19] 26.4% finalize-iter! [20] 19.7% localize-error [21] 13.5% ----------------------------------------------------------------------- get-final-combination [9] 100.0% [14] 1458(2.7%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [17] 100.0% ----------------------------------------------------------------------- for-loop [11] 100.0% [15] 422(0.8%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:398:39 hash-ref! [68] 100.0% ----------------------------------------------------------------------- get-final-combination [9] 100.0% [16] 236(0.4%) 0(0.0%) extract-alt ...e/ztatlock/herbie/src/glue.rkt:57:0 loop [22] 100.0% ----------------------------------------------------------------------- split-table [14] 100.0% [17] 1458(2.7%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [23] 100.0% ----------------------------------------------------------------------- run-iter! [13] 100.0% [18] 1244(2.3%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [24] 100.0% ----------------------------------------------------------------------- run-iter! [13] 100.0% [19] 814(1.5%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [25] 100.0% ----------------------------------------------------------------------- run-iter! [13] 100.0% [20] 606(1.1%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [26] 100.0% ----------------------------------------------------------------------- run-iter! [13] 100.0% [21] 416(0.8%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [68] 100.0% ----------------------------------------------------------------------- extract-alt [16] 100.0% [22] 236(0.4%) 0(0.0%) loop /home/ztatlock/herbie/src/common.rkt:86:2 composed [27] 100.0% ----------------------------------------------------------------------- infer-splitpoints4 [17] 100.0% [23] 1458(2.7%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [29] 86.0% err-lsts->split-indices [32] 14.0% ----------------------------------------------------------------------- gen-series! [18] 100.0% [24] 1244(2.3%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [30] 100.0% ----------------------------------------------------------------------- simplify! [19] 100.0% [25] 814(1.5%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [28] 75.2% debug-print [33] 24.8% ----------------------------------------------------------------------- finalize-iter! [20] 100.0% [26] 606(1.1%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [31] 100.0% ----------------------------------------------------------------------- loop [22] 100.0% [27] 236(0.4%) 0(0.0%) composed ...ollects/racket/private/list.rkt:321:16 errors [51] 100.0% ----------------------------------------------------------------------- for-loop [25] 0.4% run [7] 49.4% [28] 52612(99.2%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 49.0% loop [34] 45.6% run-improve58 [2] 5.0% simplify [37] 0.4% ----------------------------------------------------------------------- option-on-expr [23] 100.0% [29] 1254(2.4%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [35] 100.0% ----------------------------------------------------------------------- for-loop [24] 100.0% [30] 1244(2.3%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [36] 100.0% ----------------------------------------------------------------------- ??? [26] 100.0% [31] 606(1.1%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [38] 100.0% ----------------------------------------------------------------------- option-on-expr [23] 100.0% [32] 204(0.4%) 0(0.0%) err-lsts->split-indices .../core/regimes.rkt:224:0 add-splitpoint [39] 100.0% ----------------------------------------------------------------------- for-loop [25] 100.0% [33] 202(0.4%) 0(0.0%) debug-print ...ztatlock/herbie/src/debug.rkt:107:0 for-loop [40] 100.0% ----------------------------------------------------------------------- run-improve58 [2] 1.4% ??? [28] 98.6% [34] 47838(90.2%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [41] 48.9% make-exacts* [49] 39.1% loop [50] 11.5% for-loop [46] 0.5% ----------------------------------------------------------------------- sort-context-on-expr [29] 100.0% [35] 1254(2.4%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [43] 65.7% loop [52] 34.3% ----------------------------------------------------------------------- taylor-alt [30] 100.0% [36] 1244(2.3%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [42] 100.0% ----------------------------------------------------------------------- ??? [28] 100.0% [37] 612(1.2%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [45] 65.4% loop [47] 34.6% ----------------------------------------------------------------------- for-loop [31] 100.0% [38] 606(1.1%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [44] 100.0% ----------------------------------------------------------------------- err-lsts->split-indices [32] 100.0% [39] 204(0.4%) 0(0.0%) add-splitpoint ...erbie/src/core/regimes.rkt:237:2 for-loop [48] 100.0% ----------------------------------------------------------------------- debug-print [33] 100.0% [40] 202(0.4%) 202(0.4%) for-loop /home/ztatlock/herbie/src/debug.rkt:113:2 ----------------------------------------------------------------------- loop [34] 100.0% [41] 23398(44.1%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [50] 58.8% make-exacts* [49] 40.3% eval-prog [63] 0.9% ----------------------------------------------------------------------- for-loop [36] 24.7% location-do [42] 75.3% [42] 1244(2.3%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 location-do [42] 75.3% approximate9 [3] 24.7% ----------------------------------------------------------------------- sort [35] 33.4% copying-mergesort [43] 66.6% [43] 824(1.6%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [43] 66.6% loop [52] 20.8% jloop [5] 12.6% ----------------------------------------------------------------------- atab-add-altn [38] 100.0% [44] 606(1.1%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [51] 100.0% ----------------------------------------------------------------------- simplify [37] 100.0% [45] 400(0.8%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [53] 100.0% ----------------------------------------------------------------------- loop [34] 100.0% [46] 218(0.4%) 0(0.0%) for-loop .../ztatlock/herbie/src/points.rkt:128:18 for-loop [54] 100.0% ----------------------------------------------------------------------- simplify [37] 100.0% [47] 212(0.4%) 0(0.0%) loop ...tatlock/herbie/src/core/simplify.rkt:203:2 pass [55] 100.0% ----------------------------------------------------------------------- add-splitpoint [39] 100.0% [48] 204(0.4%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:239:4 for-loop [56] 100.0% ----------------------------------------------------------------------- loop [41] 33.5% loop [34] 66.5% [49] 28140(53.1%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [57] 50.9% loop [81] 48.3% eval-prog [63] 0.8% ----------------------------------------------------------------------- loop [34] 28.6% loop [41] 71.4% [50] 19266(36.3%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [57] 100.0% ----------------------------------------------------------------------- composed [27] 28.0% best-and-tied-at-points [44] 72.0% [51] 842(1.6%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [59] 72.0% eval-prog [63] 28.0% ----------------------------------------------------------------------- copying-mergesort [43] 48.8% sort [35] 51.2% [52] 840(1.6%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [58] 100.0% ----------------------------------------------------------------------- simplify-expr [45] 100.0% [53] 400(0.8%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [61] 50.5% *simplify-rules* [62] 49.5% ----------------------------------------------------------------------- for-loop [46] 100.0% [54] 218(0.4%) 218(0.4%) for-loop .../ztatlock/herbie/src/points.rkt:129:20 ----------------------------------------------------------------------- loop [47] 100.0% [55] 212(0.4%) 0(0.0%) pass ...tatlock/herbie/src/core/simplify.rkt:193:2 for-loop [60] 100.0% ----------------------------------------------------------------------- for-loop [48] 100.0% [56] 204(0.4%) 204(0.4%) for-loop ...lock/herbie/src/core/regimes.rkt:243:8 ----------------------------------------------------------------------- parse-loop12 [77] 0.3% f6 [78] 2.7% make-exacts* [49] 41.3% loop [50] 55.6% [57] 34638(65.3%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [81] 97.5% parse-loop12 [77] 1.0% f6 [78] 0.8% ??? [64] 0.7% ----------------------------------------------------------------------- jloop [5] 33.0% loop [52] 67.0% [58] 1254(2.4%) 216(0.4%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [63] 82.8% ----------------------------------------------------------------------- errors [51] 100.0% [59] 606(1.1%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [83] 100.0% ----------------------------------------------------------------------- pass [55] 100.0% [60] 212(0.4%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:196:29 argmin [65] 100.0% ----------------------------------------------------------------------- iterate-egraph!5 [53] 100.0% [61] 202(0.4%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [66] 100.0% ----------------------------------------------------------------------- iterate-egraph!5 [53] 100.0% [62] 198(0.4%) 0(0.0%) *simplify-rules* ...bie/src/syntax/rules.rkt:300:0 for-loop [67] 100.0% ----------------------------------------------------------------------- loop [41] 12.5% make-exacts* [49] 13.4% errors [51] 13.7% ??? [58] 60.4% [63] 1718(3.2%) 1302(2.5%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [68] 12.5% ??? [70] 11.8% ----------------------------------------------------------------------- map [57] 41.4% loop [81] 58.6% [64] 416(0.8%) 0(0.0%) ??? ...ket/collects/racket/private/list.rkt:323:18 hash-ref! [68] 100.0% ----------------------------------------------------------------------- for-loop [60] 100.0% [65] 212(0.4%) 0(0.0%) argmin ...re/racket/collects/racket/list.rkt:743:0 expression-cost [69] 100.0% ----------------------------------------------------------------------- for-loop [66] 50.0% one-iter [61] 50.0% [66] 202(0.4%) 202(0.4%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [66] 50.0% ----------------------------------------------------------------------- *simplify-rules* [62] 100.0% [67] 198(0.4%) 198(0.4%) for-loop ...e/ztatlock/herbie/src/common.rkt:205:9 ----------------------------------------------------------------------- for-loop [12] 3.0% eval-prog [63] 3.2% localize-error [21] 5.6% for-loop [15] 7.4% loop [81] 9.6% ??? [64] 19.2% ??? [72] 19.9% loop [10] 32.0% [68] 1674(3.2%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 simplify [71] 32.0% ??? [72] 19.9% f6 [78] 13.6% parse-loop12 [77] 11.2% ??? [74] 9.6% ??? [4] 7.4% bigfloat-hash [73] 3.2% ??? [6] 3.0% ----------------------------------------------------------------------- argmin [65] 100.0% [69] 212(0.4%) 0(0.0%) expression-cost ...k/herbie/src/programs.rkt:212:0 compile [75] 100.0% ----------------------------------------------------------------------- eval-prog [63] 100.0% [70] 202(0.4%) 0(0.0%) ??? ...collects/racket/private/qq-and-or.rkt:155:9 ??? [76] 100.0% ----------------------------------------------------------------------- loop [81] 16.1% hash-ref! [68] 83.9% [71] 1244(2.3%) 200(0.4%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 f6 [78] 51.4% parse-loop12 [77] 16.2% ??? [80] 16.2% ----------------------------------------------------------------------- hash-ref! [68] 100.0% [72] 842(1.6%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [68] 100.0% ----------------------------------------------------------------------- hash-ref! [68] 100.0% [73] 214(0.4%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 sig+exp->bigfloat [79] 100.0% ----------------------------------------------------------------------- hash-ref! [68] 100.0% [74] 214(0.4%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [81] 100.0% ----------------------------------------------------------------------- expression-cost [69] 100.0% [75] 212(0.4%) 212(0.4%) compile .../ztatlock/herbie/src/programs.rkt:189:0 ----------------------------------------------------------------------- ??? [70] 100.0% [76] 202(0.4%) 202(0.4%) ??? ...ollects/racket/private/qq-and-or.rkt:164:21 ----------------------------------------------------------------------- loop [81] 5.4% simplify [71] 5.4% parse-loop12 [77] 14.1% hash-ref! [68] 33.1% map [57] 42.1% [77] 1258(2.4%) 842(1.6%) parse-loop12 ...s/racket/match/compiler.rkt:410:15 loop [81] 47.2% parse-loop12 [77] 14.1% map [57] 12.3% ----------------------------------------------------------------------- loop [81] 5.8% approximate9 [3] 15.9% simplify [71] 17.0% map [57] 28.1% hash-ref! [68] 33.1% [78] 1256(2.4%) 0(0.0%) f6 ...et/collects/racket/match/compiler.rkt:499:40 map [57] 84.1% loop [81] 15.9% ----------------------------------------------------------------------- bigfloat-hash [73] 100.0% [79] 214(0.4%) 214(0.4%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 ----------------------------------------------------------------------- simplify [71] 100.0% [80] 202(0.4%) 0(0.0%) ??? /home/ztatlock/herbie/src/core/reduce.rkt:52:5 for-loop [82] 100.0% ----------------------------------------------------------------------- f6 [78] 0.4% ??? [74] 0.4% make-exacts* [49] 0.5% parse-loop12 [77] 1.1% map [57] 3.4% loop [81] 94.2% [81] 48648(91.7%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [81] 94.2% ??? [83] 3.8% f6 [78] 0.5% hash-ref! [68] 0.4% parse-loop12 [77] 0.4% simplify [71] 0.4% ??? [64] 0.2% ??? [91] 0.1% ->flonum [84] 0.0% ----------------------------------------------------------------------- ??? [80] 100.0% [82] 202(0.4%) 0(0.0%) for-loop ...atlock/herbie/src/core/reduce.rkt:53:7 pattern-match [85] 100.0% ----------------------------------------------------------------------- for-loop [59] 1.3% loop [81] 98.7% [83] 47538(89.6%) 1032(1.9%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [86] 86.7% real->bigfloat [87] 8.7% ??? [95] 2.5% ----------------------------------------------------------------------- loop [81] 100.0% [84] 464(0.9%) 222(0.4%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [96] 52.2% ----------------------------------------------------------------------- for-loop [82] 100.0% [85] 202(0.4%) 202(0.4%) pattern-match .../herbie/src/core/matcher.rkt:47:0 ----------------------------------------------------------------------- ??? [83] 100.0% [86] 41210(77.7%) 1020(1.9%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [91] 76.0% bffmod [88] 20.6% ...ow-val-first.rkt:357:18 [90] 0.5% ----------------------------------------------------------------------- ??? [83] 100.0% [87] 4122(7.8%) 3480(6.6%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [97] 15.6% ----------------------------------------------------------------------- ??? [86] 100.0% [88] 8482(16.0%) 232(0.4%) bffmod ...tlock/herbie/src/syntax/syntax.rkt:128:0 ??? [91] 42.1% bf* [89] 35.5% ...ow-val-first.rkt:357:18 [90] 19.6% ----------------------------------------------------------------------- bffmod [88] 100.0% [89] 3014(5.7%) 234(0.4%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [91] 92.2% ----------------------------------------------------------------------- ??? [86] 10.8% bffmod [88] 89.2% [90] 1864(3.5%) 510(1.0%) ...ow-val-first.rkt:357:18 (unknown source) ??? [92] 72.6% ----------------------------------------------------------------------- loop [81] 1.1% bf* [89] 7.3% bffmod [88] 9.4% ??? [86] 82.2% [91] 38074(71.8%) 21910(41.3%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfmul [93] 20.5% bfsqr [94] 14.9% ??? [96] 5.8% ----------------------------------------------------------------------- ...ow-val-first.rkt:357:18 [90]100.0% [92] 1354(2.6%) 214(0.4%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [95] 84.2% ----------------------------------------------------------------------- ??? [91] 100.0% [93] 7820(14.7%) 6222(11.7%) bfmul ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [97] 20.4% ----------------------------------------------------------------------- ??? [91] 100.0% [94] 5656(10.7%) 4130(7.8%) bfsqr ...-lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [97] 27.0% ----------------------------------------------------------------------- ??? [92] 49.3% ??? [83] 50.7% [95] 2314(4.4%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [96] 100.0% ----------------------------------------------------------------------- ->flonum [84] 5.1% ??? [91] 46.5% ??? [95] 48.4% [96] 4780(9.0%) 2960(5.6%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [98] 33.3% ??? [99] 4.7% ----------------------------------------------------------------------- real->bigfloat [87] 17.0% bfsqr [94] 40.5% bfmul [93] 42.4% [97] 3766(7.1%) 3766(7.1%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ----------------------------------------------------------------------- ??? [96] 100.0% [98] 1594(3.0%) 936(1.8%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [100] 41.3% ----------------------------------------------------------------------- ??? [96] 100.0% [99] 226(0.4%) 226(0.4%) ??? ...ects/racket/contract/private/prop.rkt:489:4 ----------------------------------------------------------------------- ??? [98] 100.0% [100] 658(1.2%) 658(1.2%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 -----------------------------------------------------------------------