Profiling results ----------------- Total cpu time observed: 18080ms (out of 17636ms) Number of samples taken: 67 (once every 270ms) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [18] 100.0% [1] 17604(97.4%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [5] 100.0% ---------------------------------------------------------------------- ??? [18] 100.0% [2] 7924(43.8%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [6] 59.7% for-loop [7] 35.3% loop [24] 5.1% ---------------------------------------------------------------------- hash-ref! [77] 100.0% [3] 2490(13.8%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [54] 100.0% ---------------------------------------------------------------------- copying-mergesort [32] 100.0% [4] 1954(10.8%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [48] 100.0% ---------------------------------------------------------------------- profile-thunk14 [1] 100.0% [5] 17604(97.4%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [18] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [6] 4728(26.2%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [8] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [7] 2794(15.5%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [9] 100.0% ---------------------------------------------------------------------- get-final-combination [6] 100.0% [8] 4728(26.2%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [10] 100.0% ---------------------------------------------------------------------- for-loop [7] 100.0% [9] 2794(15.5%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [11] 45.3% finalize-iter! [12] 38.8% gen-series! [13] 15.9% ---------------------------------------------------------------------- split-table [8] 100.0% [10] 4728(26.2%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [14] 100.0% ---------------------------------------------------------------------- run-iter! [9] 100.0% [11] 1266(7.0%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [16] 100.0% ---------------------------------------------------------------------- run-iter! [9] 100.0% [12] 1084(6.0%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [15] 100.0% ---------------------------------------------------------------------- run-iter! [9] 100.0% [13] 444(2.5%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [17] 100.0% ---------------------------------------------------------------------- infer-splitpoints4 [10] 100.0% [14] 4728(26.2%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [19] 87.3% loop [54] 4.2% pick-errors [23] 4.2% err-lsts->split-indices [22] 4.2% ---------------------------------------------------------------------- debug7 [89] 18.3% finalize-iter! [12] 81.7% [15] 1326(7.3%) 242(1.3%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [20] 81.7% ---------------------------------------------------------------------- simplify! [11] 100.0% [16] 1266(7.0%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [18] 100.0% ---------------------------------------------------------------------- gen-series! [13] 100.0% [17] 444(2.5%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [21] 100.0% ---------------------------------------------------------------------- for-loop [16] 2.3% run [5] 47.5% [18] 18080(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 47.5% loop [24] 29.4% run-improve58 [2] 20.7% simplify [26] 2.3% ---------------------------------------------------------------------- option-on-expr [14] 100.0% [19] 4128(22.8%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [25] 100.0% ---------------------------------------------------------------------- ??? [15] 100.0% [20] 1084(6.0%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [27] 100.0% ---------------------------------------------------------------------- for-loop [17] 100.0% [21] 444(2.5%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [28] 100.0% ---------------------------------------------------------------------- option-on-expr [14] 100.0% [22] 200(1.1%) 0(0.0%) err-lsts->split-indices .../core/regimes.rkt:224:0 add-splitpoint [29] 100.0% ---------------------------------------------------------------------- option-on-expr [14] 100.0% [23] 200(1.1%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [30] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 3.8% ??? [18] 96.2% [24] 10558(58.4%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [31] 52.3% make-exacts* [39] 41.8% loop [40] 3.8% for-loop [37] 2.0% ---------------------------------------------------------------------- sort-context-on-expr [19] 100.0% [25] 4128(22.8%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [32] 74.2% loop [41] 25.8% ---------------------------------------------------------------------- ??? [18] 100.0% [26] 1266(7.0%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [33] 65.1% iterate-egraph!5 [42] 34.9% ---------------------------------------------------------------------- for-loop [20] 100.0% [27] 1084(6.0%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [34] 59.4% override-at-pnts [36] 40.6% ---------------------------------------------------------------------- taylor-alt [21] 100.0% [28] 444(2.5%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [35] 100.0% ---------------------------------------------------------------------- err-lsts->split-indices [22] 100.0% [29] 200(1.1%) 0(0.0%) add-splitpoint ...erbie/src/core/regimes.rkt:237:2 for-loop [38] 100.0% ---------------------------------------------------------------------- pick-errors [23] 100.0% [30] 200(1.1%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [55] 100.0% ---------------------------------------------------------------------- loop [24] 100.0% [31] 5524(30.6%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 eval-prog [55] 36.8% loop [40] 34.6% make-exacts* [39] 28.5% ---------------------------------------------------------------------- sort [25] 39.3% copying-mergesort [32] 60.7% [32] 3064(16.9%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [32] 60.7% loop [41] 23.4% jloop [4] 15.9% ---------------------------------------------------------------------- simplify [26] 100.0% [33] 824(4.6%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [42] 73.1% loop [44] 26.9% ---------------------------------------------------------------------- atab-add-altn [27] 100.0% [34] 644(3.6%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [59] 100.0% ---------------------------------------------------------------------- location-do [35] 40.9% for-loop [28] 59.1% [35] 444(2.5%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [43] 59.1% location-do [35] 40.9% ---------------------------------------------------------------------- atab-add-altn [27] 100.0% [36] 440(2.4%) 0(0.0%) override-at-pnts ...e/src/core/alt-table.rkt:145:0 errors [59] 100.0% ---------------------------------------------------------------------- loop [24] 100.0% [37] 216(1.2%) 0(0.0%) for-loop .../ztatlock/herbie/src/points.rkt:128:18 for-loop [45] 100.0% ---------------------------------------------------------------------- add-splitpoint [29] 100.0% [38] 200(1.1%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:239:4 for-loop [46] 100.0% ---------------------------------------------------------------------- loop [31] 26.3% loop [24] 73.7% [39] 5992(33.1%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [47] 48.4% loop [54] 31.9% eval-prog [55] 19.8% ---------------------------------------------------------------------- loop [24] 17.4% loop [31] 82.6% [40] 2316(12.8%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [47] 100.0% ---------------------------------------------------------------------- sort [25] 48.9% copying-mergesort [32] 51.1% [41] 2174(12.0%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [48] 100.0% ---------------------------------------------------------------------- simplify [26] 42.3% simplify-expr [33] 57.7% [42] 1044(5.8%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [49] 80.8% *simplify-rules* [53] 19.2% ---------------------------------------------------------------------- location-do [35] 100.0% [43] 444(2.5%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [50] 54.5% debug7 [89] 45.5% ---------------------------------------------------------------------- simplify-expr [33] 100.0% [44] 222(1.2%) 0(0.0%) loop ...tatlock/herbie/src/core/simplify.rkt:203:2 pass [51] 100.0% ---------------------------------------------------------------------- for-loop [37] 100.0% [45] 216(1.2%) 0(0.0%) for-loop .../ztatlock/herbie/src/points.rkt:129:20 sample-default [52] 100.0% ---------------------------------------------------------------------- for-loop [38] 100.0% [46] 200(1.1%) 200(1.1%) for-loop ...lock/herbie/src/core/regimes.rkt:243:8 ---------------------------------------------------------------------- loop [40] 44.4% make-exacts* [39] 55.6% [47] 5214(28.8%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [54] 100.0% ---------------------------------------------------------------------- jloop [4] 47.3% loop [41] 52.7% [48] 4128(22.8%) 200(1.1%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [55] 95.2% ---------------------------------------------------------------------- iterate-egraph!5 [42] 100.0% [49] 844(4.7%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [56] 100.0% ---------------------------------------------------------------------- approximate9 [43] 100.0% [50] 242(1.3%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [77] 100.0% ---------------------------------------------------------------------- loop [44] 100.0% [51] 222(1.2%) 0(0.0%) pass ...tatlock/herbie/src/core/simplify.rkt:193:2 for-loop [57] 100.0% ---------------------------------------------------------------------- for-loop [45] 100.0% [52] 216(1.2%) 0(0.0%) sample-default ...rc/syntax/distributions.rkt:11:0 ??? [82] 100.0% ---------------------------------------------------------------------- iterate-egraph!5 [42] 100.0% [53] 200(1.1%) 0(0.0%) *simplify-rules* ...bie/src/syntax/rules.rkt:300:0 for-loop [58] 100.0% ---------------------------------------------------------------------- make-exacts* [39] 0.0% map [47] 0.5% option-on-expr [14] 2.0% ??? [3] 24.8% loop [54] 72.6% [54] 9814(54.3%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [54] 72.6% hash-ref! [77] 24.8% errors [59] 2.0% ??? [71] 0.5% ->flonum [61] 0.1% ---------------------------------------------------------------------- for-loop [30] 2.6% errors [59] 2.9% make-exacts* [39] 15.6% loop [31] 26.9% ??? [48] 51.9% [55] 7566(41.8%) 3690(20.4%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [77] 42.5% new-lambda [63] 2.9% parse-app [64] 2.9% go [65] 2.9% ---------------------------------------------------------------------- for-loop [56] 50.0% one-iter [49] 50.0% [56] 844(4.7%) 220(1.2%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [56] 50.0% match-e [60] 37.0% ---------------------------------------------------------------------- pass [51] 100.0% [57] 222(1.2%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:196:29 argmin [62] 100.0% ---------------------------------------------------------------------- *simplify-rules* [53] 100.0% [58] 200(1.1%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/common.rkt:205:9 ??? [82] 100.0% ---------------------------------------------------------------------- loop [54] 15.6% override-at-pnts [36] 34.3% best-and-tied-at-points [34] 50.2% [59] 1284(7.1%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [66] 82.9% eval-prog [55] 17.1% ---------------------------------------------------------------------- for-loop [56] 100.0% [60] 624(3.5%) 202(1.1%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [67] 35.6% list-cartesian-product [70] 32.1% ---------------------------------------------------------------------- loop [54] 100.0% [61] 246(1.4%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [94] 100.0% ---------------------------------------------------------------------- for-loop [57] 100.0% [62] 222(1.2%) 0(0.0%) argmin ...re/racket/collects/racket/list.rkt:743:0 expression-cost [68] 100.0% ---------------------------------------------------------------------- eval-prog [55] 100.0% [63] 220(1.2%) 220(1.2%) new-lambda ...ollects/racket/private/kw.rkt:631:11 ---------------------------------------------------------------------- eval-prog [55] 100.0% [64] 220(1.2%) 0(0.0%) parse-app .../collects/racket/private/kw.rkt:903:2 loop [69] 100.0% ---------------------------------------------------------------------- eval-prog [55] 100.0% [65] 218(1.2%) 218(1.2%) go .../collects/racket/private/qq-and-or.rkt:50:20 ---------------------------------------------------------------------- errors [59] 100.0% [66] 1064(5.9%) 442(2.4%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [71] 39.7% ??? [74] 18.8% ---------------------------------------------------------------------- match-e [60] 100.0% [67] 222(1.2%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 for-loop [72] 100.0% ---------------------------------------------------------------------- argmin [62] 100.0% [68] 222(1.2%) 0(0.0%) expression-cost ...k/herbie/src/programs.rkt:212:0 compile [73] 100.0% ---------------------------------------------------------------------- parse-app [64] 33.3% loop [69] 66.7% [69] 220(1.2%) 220(1.2%) loop .../collects/racket/private/stxcase.rkt:112:7 loop [69] 66.7% ---------------------------------------------------------------------- match-e [60] 100.0% [70] 200(1.1%) 0(0.0%) list-cartesian-product ...src/core/ematch.rkt:20:0 for-loop [75] 100.0% ---------------------------------------------------------------------- for-loop [66] 5.8% loop [54] 94.2% [71] 7300(40.4%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [76] 57.7% real->bigfloat [78] 29.6% ??? [92] 9.3% ...e/case-arrow.rkt:150:50 [79] 3.4% ---------------------------------------------------------------------- for-loop [67] 100.0% [72] 222(1.2%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 ??? [80] 100.0% ---------------------------------------------------------------------- expression-cost [68] 100.0% [73] 222(1.2%) 0(0.0%) compile .../ztatlock/herbie/src/programs.rkt:189:0 hash-ref! [77] 100.0% ---------------------------------------------------------------------- for-loop [66] 100.0% [74] 200(1.1%) 200(1.1%) ??? ...ket/collects/racket/private/for.rkt:1150:14 ---------------------------------------------------------------------- list-cartesian-product [70] 100.0% [75] 200(1.1%) 200(1.1%) for-loop ...atlock/herbie/src/core/ematch.rkt:24:8 ---------------------------------------------------------------------- ??? [71] 100.0% [76] 4210(23.3%) 424(2.3%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [91] 40.3% bf* [87] 28.0% bffma [83] 11.6% ??? [82] 5.3% ...higher-order.rkt:373:33 [85] 4.8% ---------------------------------------------------------------------- compile [73] 6.0% loop [50] 6.6% eval-prog [55] 43.0% loop [54] 44.4% [77] 3682(20.4%) 222(1.2%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [3] 44.4% bigfloat-hash [81] 43.0% simplify [84] 6.6% ---------------------------------------------------------------------- ??? [71] 100.0% [78] 2164(12.0%) 968(5.4%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [96] 55.3% ---------------------------------------------------------------------- ??? [71] 100.0% [79] 250(1.4%) 250(1.4%) ...e/case-arrow.rkt:150:50 (unknown source) ---------------------------------------------------------------------- for-loop [72] 100.0% [80] 222(1.2%) 222(1.2%) ??? /home/ztatlock/herbie/src/core/ematch.rkt:50:5 ---------------------------------------------------------------------- hash-ref! [77] 100.0% [81] 3218(17.8%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 sig+exp->bigfloat [86] 64.4% bfcanonicalize [88] 35.6% ---------------------------------------------------------------------- for-loop [58] 31.3% sample-default [52] 33.9% ??? [76] 34.8% [82] 638(3.5%) 638(3.5%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ---------------------------------------------------------------------- ??? [76] 100.0% [83] 490(2.7%) 240(1.3%) bffma ...atlock/herbie/src/syntax/syntax.rkt:122:0 bf* [87] 51.0% ---------------------------------------------------------------------- hash-ref! [77] 100.0% [84] 242(1.3%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 debug7 [89] 100.0% ---------------------------------------------------------------------- ??? [76] 100.0% [85] 200(1.1%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [90] 100.0% ---------------------------------------------------------------------- bigfloat-hash [81] 100.0% [86] 2074(11.5%) 2074(11.5%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 ---------------------------------------------------------------------- bffma [83] 17.5% ??? [76] 82.5% [87] 1428(7.9%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [91] 100.0% ---------------------------------------------------------------------- bigfloat-hash [81] 100.0% [88] 1144(6.3%) 1144(6.3%) bfcanonicalize .../private/bigfloat/mpfr.rkt:155:0 ---------------------------------------------------------------------- approximate9 [43] 45.5% simplify [84] 54.5% [89] 444(2.5%) 202(1.1%) debug7 /home/ztatlock/herbie/src/debug.rkt:102:0 ??? [15] 54.5% ---------------------------------------------------------------------- ...higher-order.rkt:373:33 [85]100.0% [90] 200(1.1%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [92] 100.0% ---------------------------------------------------------------------- bf* [87] 45.7% ??? [76] 54.3% [91] 3124(17.3%) 450(2.5%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfmul [93] 62.8% ??? [94] 14.6% bfsqrt [95] 8.2% ---------------------------------------------------------------------- ??? [90] 22.8% ??? [71] 77.2% [92] 876(4.8%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [94] 100.0% ---------------------------------------------------------------------- ??? [91] 100.0% [93] 1962(10.9%) 1472(8.1%) bfmul ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [96] 25.0% ---------------------------------------------------------------------- ->flonum [61] 15.6% ??? [91] 28.9% ??? [92] 55.5% [94] 1578(8.7%) 258(1.4%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [97] 68.3% ??? [98] 15.3% ---------------------------------------------------------------------- ??? [91] 100.0% [95] 256(1.4%) 256(1.4%) bfsqrt ...lib/math/private/bigfloat/mpfr.rkt:616:4 ---------------------------------------------------------------------- bfmul [93] 29.1% real->bigfloat [78] 70.9% [96] 1686(9.3%) 1686(9.3%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- ??? [94] 100.0% [97] 1078(6.0%) 434(2.4%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [99] 59.7% ---------------------------------------------------------------------- ??? [94] 100.0% [98] 242(1.3%) 242(1.3%) ??? ...ects/racket/contract/private/prop.rkt:489:4 ---------------------------------------------------------------------- ??? [97] 100.0% [99] 644(3.6%) 644(3.6%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ----------------------------------------------------------------------