Profiling results ----------------- Total cpu time observed: 19018ms (out of 19492ms) Number of samples taken: 78 (once every 244ms) =================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee =================================================================== ??? [19] 100.0% [1] 18538(97.5%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [5] 100.0% ------------------------------------------------------------------- ??? [19] 100.0% [2] 6740(35.4%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [6] 68.6% for-loop [7] 28.5% loop [24] 2.9% ------------------------------------------------------------------- copying-mergesort [31] 100.0% [3] 1074(5.6%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [46] 100.0% ------------------------------------------------------------------- hash-ref! [59] 100.0% [4] 480(2.5%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [51] 100.0% ------------------------------------------------------------------- profile-thunk14 [1] 100.0% [5] 18538(97.5%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [19] 100.0% ------------------------------------------------------------------- run-improve58 [2] 100.0% [6] 4626(24.3%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [8] 100.0% ------------------------------------------------------------------- run-improve58 [2] 100.0% [7] 1918(10.1%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [9] 100.0% ------------------------------------------------------------------- get-final-combination [6] 100.0% [8] 4626(24.3%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [10] 100.0% ------------------------------------------------------------------- for-loop [7] 100.0% [9] 1918(10.1%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [11] 57.6% finalize-iter! [12] 21.4% localize-error [13] 10.6% gen-series! [14] 10.4% ------------------------------------------------------------------- split-table [8] 100.0% [10] 4626(24.3%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [15] 100.0% ------------------------------------------------------------------- run-iter! [9] 100.0% [11] 1104(5.8%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [16] 100.0% ------------------------------------------------------------------- run-iter! [9] 100.0% [12] 410(2.2%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [17] 100.0% ------------------------------------------------------------------- run-iter! [9] 100.0% [13] 204(1.1%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 sort [25] 100.0% ------------------------------------------------------------------- run-iter! [9] 100.0% [14] 200(1.1%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [18] 100.0% ------------------------------------------------------------------- infer-splitpoints4 [10] 100.0% [15] 4626(24.3%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [20] 90.7% pick-errors [21] 9.3% ------------------------------------------------------------------- simplify! [11] 100.0% [16] 1104(5.8%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [19] 100.0% ------------------------------------------------------------------- finalize-iter! [12] 100.0% [17] 410(2.2%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [22] 100.0% ------------------------------------------------------------------- gen-series! [14] 100.0% [18] 200(1.1%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [23] 100.0% ------------------------------------------------------------------- for-loop [16] 1.9% run [5] 47.8% [19] 19018(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 47.8% loop [24] 33.5% run-improve58 [2] 16.8% simplify [26] 1.9% ------------------------------------------------------------------- option-on-expr [15] 100.0% [20] 4196(22.1%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [25] 100.0% ------------------------------------------------------------------- option-on-expr [15] 100.0% [21] 430(2.3%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [27] 100.0% ------------------------------------------------------------------- ??? [17] 100.0% [22] 410(2.2%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [28] 100.0% ------------------------------------------------------------------- for-loop [18] 100.0% [23] 200(1.1%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [29] 100.0% ------------------------------------------------------------------- run-improve58 [2] 1.6% ??? [19] 98.4% [24] 12474(65.6%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [30] 51.1% make-exacts* [39] 28.9% loop [38] 18.3% for-loop [33] 1.7% ------------------------------------------------------------------- localize-error [13] 4.6% sort-context-on-expr [20] 95.4% [25] 4400(23.1%) 204(1.1%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [31] 69.5% loop [40] 25.9% ------------------------------------------------------------------- ??? [19] 100.0% [26] 1104(5.8%) 344(1.8%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [32] 50.7% for-loop [35] 18.1% ------------------------------------------------------------------- pick-errors [21] 100.0% [27] 430(2.3%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [52] 100.0% ------------------------------------------------------------------- for-loop [22] 100.0% [28] 410(2.2%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 override-at-pnts [34] 51.2% best-and-tied-at-points [37] 48.8% ------------------------------------------------------------------- taylor-alt [23] 100.0% [29] 200(1.1%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [36] 100.0% ------------------------------------------------------------------- loop [24] 100.0% [30] 6372(33.5%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [38] 60.8% make-exacts* [39] 28.0% eval-prog [52] 11.2% ------------------------------------------------------------------- copying-mergesort [31] 45.2% sort [25] 54.8% [31] 3056(16.1%) 200(1.1%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [31] 45.2% loop [40] 43.9% jloop [3] 8.8% ------------------------------------------------------------------- simplify [26] 100.0% [32] 560(2.9%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [41] 100.0% ------------------------------------------------------------------- loop [24] 100.0% [33] 218(1.1%) 0(0.0%) for-loop .../ztatlock/herbie/src/points.rkt:128:18 for-loop [43] 100.0% ------------------------------------------------------------------- atab-add-altn [28] 100.0% [34] 210(1.1%) 0(0.0%) override-at-pnts ...e/src/core/alt-table.rkt:145:0 errors [42] 100.0% ------------------------------------------------------------------- simplify [26] 100.0% [35] 200(1.1%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [41] 100.0% ------------------------------------------------------------------- location-do [36] 50.0% for-loop [29] 50.0% [36] 200(1.1%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 location-do [36] 50.0% approximate9 [44] 50.0% ------------------------------------------------------------------- atab-add-altn [28] 100.0% [37] 200(1.1%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [42] 100.0% ------------------------------------------------------------------- loop [24] 37.1% loop [30] 62.9% [38] 6160(32.4%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [45] 100.0% ------------------------------------------------------------------- loop [30] 33.1% loop [24] 66.9% [39] 5384(28.3%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [45] 51.7% loop [51] 48.3% ------------------------------------------------------------------- sort [25] 39.0% copying-mergesort [31] 61.0% [40] 2922(15.4%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [46] 100.0% ------------------------------------------------------------------- for-loop [35] 26.3% simplify-expr [32] 73.7% [41] 760(4.0%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [47] 100.0% ------------------------------------------------------------------- best-and-tied-at-points [37] 48.8% override-at-pnts [34] 51.2% [42] 410(2.2%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [48] 100.0% ------------------------------------------------------------------- for-loop [33] 100.0% [43] 218(1.1%) 0(0.0%) for-loop .../ztatlock/herbie/src/points.rkt:129:20 sample-default [49] 100.0% ------------------------------------------------------------------- location-do [36] 100.0% [44] 200(1.1%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 f94 [50] 100.0% ------------------------------------------------------------------- make-exacts* [39] 31.1% loop [38] 68.9% [45] 8944(47.0%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [51] 100.0% ------------------------------------------------------------------- jloop [3] 26.9% loop [40] 73.1% [46] 3996(21.0%) 422(2.2%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [52] 83.5% ??? [56] 5.9% ------------------------------------------------------------------- iterate-egraph!5 [41] 100.0% [47] 760(4.0%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [53] 71.6% apply-match [54] 28.4% ------------------------------------------------------------------- errors [42] 100.0% [48] 410(2.2%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [56] 100.0% ------------------------------------------------------------------- for-loop [43] 100.0% [49] 218(1.1%) 0(0.0%) sample-default ...rc/syntax/distributions.rkt:11:0 ??? [73] 100.0% ------------------------------------------------------------------- approximate9 [44] 100.0% [50] 200(1.1%) 0(0.0%) f94 ...t/collects/racket/match/compiler.rkt:499:40 taylor-sqrt [55] 100.0% ------------------------------------------------------------------- make-exacts* [39] 0.1% ??? [4] 4.0% map [45] 5.2% loop [51] 90.7% [51] 12024(63.2%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [51] 90.7% ??? [56] 5.3% hash-ref! [59] 4.0% ------------------------------------------------------------------- for-loop [27] 9.6% loop [30] 15.9% ??? [46] 74.5% [52] 4480(23.6%) 2434(12.8%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 ??? [57] 20.4% hash-ref! [59] 10.7% inductor [60] 9.8% parse-lambda [61] 4.8% ------------------------------------------------------------------- for-loop [53] 50.0% one-iter [47] 50.0% [53] 544(2.9%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [53] 50.0% match-e [58] 50.0% ------------------------------------------------------------------- one-iter [47] 100.0% [54] 216(1.1%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 match-e [58] 100.0% ------------------------------------------------------------------- f94 [50] 100.0% [55] 200(1.1%) 0(0.0%) taylor-sqrt ...ck/herbie/src/core/taylor.rkt:346:0 simplify [62] 100.0% ------------------------------------------------------------------- ??? [46] 1.9% for-loop [48] 3.4% loop [51] 94.7% [56] 12190(64.1%) 908(4.8%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [63] 56.9% real->bigfloat [64] 30.4% ??? [67] 3.5% ->flonum [69] 1.7% ------------------------------------------------------------------- eval-prog [52] 100.0% [57] 912(4.8%) 228(1.2%) ??? ...collects/racket/private/qq-and-or.rkt:155:9 ??? [65] 75.0% ------------------------------------------------------------------- apply-match [54] 28.4% for-loop [53] 71.6% [58] 760(4.0%) 544(2.9%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [68] 28.4% ------------------------------------------------------------------- eval-prog [52] 42.5% loop [51] 57.5% [59] 480(2.5%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [4] 57.5% bigfloat-hash [66] 42.5% ------------------------------------------------------------------- inductor [60] 33.3% eval-prog [52] 66.7% [60] 440(2.3%) 440(2.3%) inductor .../ztatlock/herbie/src/programs.rkt:73:2 inductor [60] 33.3% ------------------------------------------------------------------- eval-prog [52] 100.0% [61] 214(1.1%) 214(1.1%) parse-lambda ...llects/racket/private/kw.rkt:393:2 ------------------------------------------------------------------- taylor-sqrt [55] 100.0% [62] 200(1.1%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 debug7 [70] 100.0% ------------------------------------------------------------------- ??? [56] 100.0% [63] 6936(36.5%) 436(2.3%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [74] 78.4% bf* [71] 15.3% ------------------------------------------------------------------- ??? [56] 100.0% [64] 3706(19.5%) 3002(15.8%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [80] 19.0% ------------------------------------------------------------------- ??? [57] 100.0% [65] 684(3.6%) 684(3.6%) ??? ...ollects/racket/private/qq-and-or.rkt:164:21 ------------------------------------------------------------------- hash-ref! [59] 100.0% [66] 480(2.5%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 sig+exp->bigfloat [72] 100.0% ------------------------------------------------------------------- ??? [56] 100.0% [67] 430(2.3%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [76] 100.0% ------------------------------------------------------------------- match-e [58] 100.0% [68] 216(1.1%) 216(1.1%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 ------------------------------------------------------------------- ??? [56] 100.0% [69] 210(1.1%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [73] 100.0% ------------------------------------------------------------------- simplify [62] 100.0% [70] 200(1.1%) 200(1.1%) debug7 /home/ztatlock/herbie/src/debug.rkt:102:0 ------------------------------------------------------------------- ??? [63] 100.0% [71] 1064(5.6%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [74] 100.0% ------------------------------------------------------------------- bigfloat-hash [66] 100.0% [72] 480(2.5%) 264(1.4%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 integer->mpz [75] 45.0% ------------------------------------------------------------------- ->flonum [69] 49.1% sample-default [49] 50.9% [73] 428(2.3%) 428(2.3%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ------------------------------------------------------------------- bf* [71] 16.4% ??? [63] 83.6% [74] 6500(34.2%) 2064(10.9%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfhypot [77] 33.2% ??? [76] 31.6% bfasin [78] 3.4% ------------------------------------------------------------------- sig+exp->bigfloat [72] 100.0% [75] 216(1.1%) 216(1.1%) integer->mpz ...math/private/bigfloat/gmp.rkt:87:0 ------------------------------------------------------------------- ??? [67] 17.3% ??? [74] 82.7% [76] 2486(13.1%) 672(3.5%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [79] 61.6% ??? [81] 11.3% ------------------------------------------------------------------- ??? [74] 100.0% [77] 2158(11.3%) 1936(10.2%) bfhypot ...ib/math/private/bigfloat/mpfr.rkt:819:4 ??? [80] 10.3% ------------------------------------------------------------------- ??? [74] 100.0% [78] 222(1.2%) 0(0.0%) bfasin ...lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [80] 100.0% ------------------------------------------------------------------- ??? [76] 100.0% [79] 1532(8.1%) 848(4.5%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [82] 44.6% ------------------------------------------------------------------- bfasin [78] 19.3% bfhypot [77] 19.3% real->bigfloat [64] 61.3% [80] 1148(6.0%) 1148(6.0%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ------------------------------------------------------------------- ??? [76] 100.0% [81] 282(1.5%) 0(0.0%) ??? ...ects/racket/contract/private/prop.rkt:489:4 ??? [83] 100.0% ------------------------------------------------------------------- ??? [79] 100.0% [82] 684(3.6%) 684(3.6%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ------------------------------------------------------------------- ??? [81] 100.0% [83] 282(1.5%) 282(1.5%) ??? ...lects/racket/contract/private/orc.rkt:73:14 -------------------------------------------------------------------