Profiling results ----------------- Total cpu time observed: 14176ms (out of 14564ms) Number of samples taken: 62 (once every 229ms) ===================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ===================================================================== ??? [7] 100.0% [1] 13242(93.4%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [5] 100.0% --------------------------------------------------------------------- copying-mergesort [47] 100.0% [2] 878(6.2%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [54] 100.0% --------------------------------------------------------------------- loop [68] 100.0% [3] 262(1.8%) 0(0.0%) ??? ...ket/collects/racket/private/list.rkt:323:18 hash-ref! [56] 50.0% map [64] 50.0% --------------------------------------------------------------------- location-do [51] 100.0% [4] 222(1.6%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [6] 100.0% --------------------------------------------------------------------- profile-thunk14 [1] 100.0% [5] 13242(93.4%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [7] 100.0% --------------------------------------------------------------------- approximate9 [4] 100.0% [6] 222(1.6%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [56] 100.0% --------------------------------------------------------------------- for-loop [27] 3.9% run [5] 45.6% [7] 13936(98.3%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 45.6% run-improve58 [8] 29.2% loop [10] 21.4% simplify [9] 3.9% --------------------------------------------------------------------- ??? [7] 100.0% [8] 8248(58.2%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [11] 60.6% for-loop [12] 36.5% loop [10] 2.9% --------------------------------------------------------------------- ??? [7] 100.0% [9] 1624(11.5%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [13] 70.3% iterate-egraph!5 [17] 29.7% --------------------------------------------------------------------- run-improve58 [8] 4.0% ??? [7] 96.0% [10] 5928(41.8%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [19] 51.8% loop [16] 40.4% loop [20] 7.8% --------------------------------------------------------------------- run-improve58 [8] 100.0% [11] 4996(35.2%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [14] 100.0% --------------------------------------------------------------------- run-improve58 [8] 100.0% [12] 3012(21.2%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [15] 100.0% --------------------------------------------------------------------- simplify [9] 100.0% [13] 1142(8.1%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [17] 100.0% --------------------------------------------------------------------- get-final-combination [11] 100.0% [14] 4996(35.2%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [18] 100.0% --------------------------------------------------------------------- for-loop [12] 100.0% [15] 3012(21.2%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [22] 53.9% finalize-iter! [23] 30.0% localize-error [41] 8.7% gen-series! [24] 7.4% --------------------------------------------------------------------- loop [10] 100.0% [16] 2392(16.9%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [20] 52.2% make-exacts* [19] 38.9% eval-prog [55] 8.9% --------------------------------------------------------------------- simplify [9] 29.7% simplify-expr [13] 70.3% [17] 1624(11.5%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [21] 100.0% --------------------------------------------------------------------- split-table [14] 100.0% [18] 4996(35.2%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [25] 95.6% exprs-to-branch-on [30] 4.4% --------------------------------------------------------------------- loop [16] 23.2% loop [10] 76.8% [19] 4002(28.2%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 loop [68] 58.9% map [64] 41.1% --------------------------------------------------------------------- loop [10] 27.1% loop [16] 72.9% [20] 1712(12.1%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [64] 100.0% --------------------------------------------------------------------- iterate-egraph!5 [17] 100.0% [21] 1624(11.5%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [26] 100.0% --------------------------------------------------------------------- run-iter! [15] 100.0% [22] 1624(11.5%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [27] 100.0% --------------------------------------------------------------------- run-iter! [15] 100.0% [23] 904(6.4%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [28] 100.0% --------------------------------------------------------------------- run-iter! [15] 100.0% [24] 222(1.6%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [29] 100.0% --------------------------------------------------------------------- infer-splitpoints4 [18] 100.0% [25] 4776(33.7%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [31] 85.7% pick-errors [34] 9.2% err-lsts->split-indices [35] 5.1% --------------------------------------------------------------------- for-loop [26] 42.0% one-iter [21] 58.0% [26] 1624(11.5%) 482(3.4%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [26] 42.0% match-e [32] 35.2% --------------------------------------------------------------------- simplify! [22] 100.0% [27] 1624(11.5%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [7] 100.0% --------------------------------------------------------------------- finalize-iter! [23] 100.0% [28] 904(6.4%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [33] 77.9% atab-add-altns [38] 22.1% --------------------------------------------------------------------- gen-series! [24] 100.0% [29] 222(1.6%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [36] 100.0% --------------------------------------------------------------------- infer-splitpoints4 [18] 100.0% [30] 220(1.6%) 0(0.0%) exprs-to-branch-on ...ie/src/core/regimes.rkt:41:0 critical-subexpression [37] 100.0% --------------------------------------------------------------------- option-on-expr [25] 100.0% [31] 4094(28.9%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [39] 100.0% --------------------------------------------------------------------- for-loop [26] 100.0% [32] 1142(8.1%) 664(4.7%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 curry* [44] 21.0% constant? [45] 20.8% --------------------------------------------------------------------- ??? [28] 100.0% [33] 704(5.0%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [40] 100.0% --------------------------------------------------------------------- option-on-expr [25] 100.0% [34] 440(3.1%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [42] 100.0% --------------------------------------------------------------------- option-on-expr [25] 100.0% [35] 242(1.7%) 0(0.0%) err-lsts->split-indices .../core/regimes.rkt:224:0 add-splitpoint [43] 100.0% --------------------------------------------------------------------- for-loop [29] 100.0% [36] 222(1.6%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [46] 100.0% --------------------------------------------------------------------- exprs-to-branch-on [30] 100.0% [37] 220(1.6%) 0(0.0%) critical-subexpression ...rc/core/regimes.rkt:49:0 localize-error [41] 100.0% --------------------------------------------------------------------- ??? [28] 100.0% [38] 200(1.4%) 0(0.0%) atab-add-altns ...rbie/src/core/alt-table.rkt:50:0 atab-add-altn [40] 100.0% --------------------------------------------------------------------- sort-context-on-expr [31] 100.0% [39] 4094(28.9%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [47] 69.1% loop [52] 30.9% --------------------------------------------------------------------- atab-add-altns [38] 22.1% for-loop [33] 77.9% [40] 904(6.4%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [48] 100.0% --------------------------------------------------------------------- critical-subexpression [37] 45.6% run-iter! [15] 54.4% [41] 482(3.4%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [56] 100.0% --------------------------------------------------------------------- pick-errors [34] 100.0% [42] 440(3.1%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [55] 100.0% --------------------------------------------------------------------- err-lsts->split-indices [35] 100.0% [43] 242(1.7%) 0(0.0%) add-splitpoint ...erbie/src/core/regimes.rkt:237:2 for-loop [49] 100.0% --------------------------------------------------------------------- match-e [32] 100.0% [44] 240(1.7%) 0(0.0%) curry* ...racket/collects/racket/function.rkt:44:2 procedure-arity [50] 100.0% --------------------------------------------------------------------- match-e [32] 100.0% [45] 238(1.7%) 238(1.7%) constant? ...ck/herbie/src/syntax/syntax.rkt:221:0 --------------------------------------------------------------------- taylor-alt [36] 100.0% [46] 222(1.6%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [51] 100.0% --------------------------------------------------------------------- sort [39] 49.3% copying-mergesort [47] 50.7% [47] 2830(20.0%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [47] 50.7% loop [52] 41.6% jloop [2] 7.8% --------------------------------------------------------------------- atab-add-altn [40] 100.0% [48] 904(6.4%) 200(1.4%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [53] 77.9% --------------------------------------------------------------------- add-splitpoint [43] 100.0% [49] 242(1.7%) 242(1.7%) for-loop ...lock/herbie/src/core/regimes.rkt:239:4 --------------------------------------------------------------------- curry* [44] 100.0% [50] 240(1.7%) 240(1.7%) procedure-arity ...ket/private/norm-arity.rkt:7:27 --------------------------------------------------------------------- for-loop [46] 20.0% location-do [51] 80.0% [51] 222(1.6%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 location-do [51] 80.0% approximate9 [4] 20.0% --------------------------------------------------------------------- sort [39] 39.3% copying-mergesort [47] 60.7% [52] 3216(22.7%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [54] 100.0% --------------------------------------------------------------------- best-and-tied-at-points [48] 100.0% [53] 704(5.0%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 eval-prog [55] 100.0% --------------------------------------------------------------------- jloop [2] 21.4% loop [52] 78.6% [54] 4094(28.9%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [55] 95.1% ??? [70] 4.9% --------------------------------------------------------------------- loop [16] 4.1% for-loop [42] 8.4% errors [53] 13.4% ??? [54] 74.1% [55] 5252(37.0%) 4812(33.9%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 parse-lambda [57] 4.3% hash-ref! [56] 4.1% --------------------------------------------------------------------- eval-prog [55] 7.8% ??? [3] 14.3% loop [68] 15.5% loop [6] 24.2% localize-error [41] 38.2% [56] 918(6.5%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 parse-loop12 [58] 38.2% simplify [61] 24.2% ??? [63] 15.5% f6 [59] 14.3% bigfloat-hash [62] 7.8% --------------------------------------------------------------------- eval-prog [55] 100.0% [57] 226(1.6%) 0(0.0%) parse-lambda ...llects/racket/private/kw.rkt:393:2 loop [60] 100.0% --------------------------------------------------------------------- hash-ref! [56] 100.0% [58] 482(3.4%) 0(0.0%) parse-loop12 ...s/racket/match/compiler.rkt:410:15 loop [68] 54.4% loop [66] 45.6% --------------------------------------------------------------------- hash-ref! [56] 100.0% [59] 262(1.8%) 0(0.0%) f6 ...et/collects/racket/match/compiler.rkt:499:40 map [64] 100.0% --------------------------------------------------------------------- parse-lambda [57] 33.3% loop [60] 66.7% [60] 226(1.6%) 226(1.6%) loop .../collects/racket/private/stxcase.rkt:112:7 loop [60] 66.7% --------------------------------------------------------------------- hash-ref! [56] 100.0% [61] 222(1.6%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 debug7 [65] 100.0% --------------------------------------------------------------------- hash-ref! [56] 100.0% [62] 214(1.5%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 sig+exp->bigfloat [67] 100.0% --------------------------------------------------------------------- hash-ref! [56] 100.0% [63] 214(1.5%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [68] 100.0% --------------------------------------------------------------------- ??? [3] 3.6% f6 [59] 3.6% make-exacts* [19] 45.4% loop [20] 47.3% [64] 3618(25.5%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [68] 96.4% ->flonum [69] 3.6% --------------------------------------------------------------------- simplify [61] 100.0% [65] 222(1.6%) 222(1.6%) debug7 /home/ztatlock/herbie/src/debug.rkt:102:0 --------------------------------------------------------------------- parse-loop12 [58] 1.8% loop [66] 98.2% [66] 220(1.6%) 220(1.6%) loop ...cket/collects/racket/private/map.rkt:37:19 loop [66] 98.2% --------------------------------------------------------------------- bigfloat-hash [62] 100.0% [67] 214(1.5%) 214(1.5%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 --------------------------------------------------------------------- parse-loop12 [58] 0.1% make-exacts* [19] 0.2% map [64] 1.5% ??? [63] 3.5% loop [68] 94.7% [68] 6190(43.7%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [68] 94.7% hash-ref! [56] 3.5% ??? [70] 1.7% ??? [3] 0.1% --------------------------------------------------------------------- map [64] 100.0% [69] 262(1.8%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [71] 100.0% --------------------------------------------------------------------- ??? [54] 3.4% loop [68] 96.6% [70] 5914(41.7%) 422(3.0%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [72] 64.9% real->bigfloat [73] 27.9% --------------------------------------------------------------------- ->flonum [69] 100.0% [71] 262(1.8%) 0(0.0%) ??? ...-racket/utils/simple-result-arrow.rkt:47:15 ??? [81] 100.0% --------------------------------------------------------------------- ??? [70] 100.0% [72] 3840(27.1%) 0(0.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 bf* [74] 51.6% ??? [76] 42.8% ...ow-val-first.rkt:357:18 [75] 5.6% --------------------------------------------------------------------- ??? [70] 100.0% [73] 1652(11.7%) 940(6.6%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [81] 43.1% --------------------------------------------------------------------- ??? [72] 100.0% [74] 1982(14.0%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [76] 100.0% --------------------------------------------------------------------- ??? [72] 100.0% [75] 216(1.5%) 0(0.0%) ...ow-val-first.rkt:357:18 (unknown source) ??? [77] 100.0% --------------------------------------------------------------------- ??? [72] 45.3% bf* [74] 54.7% [76] 3624(25.6%) 244(1.7%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfadd [78] 53.4% ??? [82] 33.2% bfsqrt [79] 6.6% --------------------------------------------------------------------- ...ow-val-first.rkt:357:18 [75]100.0% [77] 216(1.5%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [80] 100.0% --------------------------------------------------------------------- ??? [76] 100.0% [78] 1936(13.7%) 1700(12.0%) bfadd ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [81] 12.2% --------------------------------------------------------------------- ??? [76] 100.0% [79] 240(1.7%) 0(0.0%) bfsqrt ...lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [81] 100.0% --------------------------------------------------------------------- ??? [77] 100.0% [80] 216(1.5%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [82] 100.0% --------------------------------------------------------------------- bfadd [78] 16.3% bfsqrt [79] 16.6% ??? [71] 18.1% real->bigfloat [73] 49.1% [81] 1450(10.2%) 1450(10.2%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 --------------------------------------------------------------------- ??? [80] 15.2% ??? [76] 84.8% [82] 1420(10.0%) 956(6.7%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [83] 32.7% --------------------------------------------------------------------- ??? [82] 100.0% [83] 464(3.3%) 464(3.3%) ??? ...llects/racket/contract/combinator.rkt:178:4 ---------------------------------------------------------------------