Profiling results ----------------- Total cpu time observed: 20752ms (out of 20488ms) Number of samples taken: 79 (once every 263ms) ===================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ===================================================================== ??? [33] 100.0% [1] 19028(91.7%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [8] 100.0% --------------------------------------------------------------------- ??? [33] 100.0% [2] 7552(36.4%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 for-loop [9] 54.5% get-final-combination [10] 36.5% loop [41] 9.0% --------------------------------------------------------------------- loop [66] 9.3% ??? [33] 90.7% [3] 2616(12.6%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [11] 59.3% iterate-egraph!5 [16] 24.5% for-loop [12] 16.2% --------------------------------------------------------------------- hash-ref! [74] 100.0% [4] 2562(12.3%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [66] 100.0% --------------------------------------------------------------------- copying-mergesort [48] 100.0% [5] 886(4.3%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [60] 100.0% --------------------------------------------------------------------- hash-ref! [74] 100.0% [6] 240(1.2%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 parse-loop12 [80] 100.0% --------------------------------------------------------------------- hash-ref! [74] 100.0% [7] 240(1.2%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:322:33 for-loop [13] 100.0% --------------------------------------------------------------------- profile-thunk14 [1] 100.0% [8] 19028(91.7%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [33] 100.0% --------------------------------------------------------------------- run-improve58 [2] 100.0% [9] 4116(19.8%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [14] 100.0% --------------------------------------------------------------------- run-improve58 [2] 100.0% [10] 2756(13.3%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [15] 91.2% extract-alt [18] 8.8% --------------------------------------------------------------------- simplify [3] 100.0% [11] 1552(7.5%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [16] 84.4% debug-print [17] 15.6% --------------------------------------------------------------------- simplify [3] 100.0% [12] 424(2.0%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [16] 100.0% --------------------------------------------------------------------- ??? [7] 100.0% [13] 240(1.2%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:324:46 hash-ref! [74] 100.0% --------------------------------------------------------------------- for-loop [9] 100.0% [14] 4116(19.8%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [20] 57.7% finalize-iter! [22] 24.9% localize-error [23] 6.2% gen-series! [25] 5.8% gen-rewrites! [26] 5.3% --------------------------------------------------------------------- get-final-combination [10] 100.0% [15] 2514(12.1%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [19] 100.0% --------------------------------------------------------------------- for-loop [12] 17.9% simplify [3] 27.0% simplify-expr [11] 55.2% [16] 2374(11.4%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [21] 89.8% debug7 [24] 10.2% --------------------------------------------------------------------- simplify-expr [11] 100.0% [17] 242(1.2%) 242(1.2%) debug-print ...ztatlock/herbie/src/debug.rkt:107:0 --------------------------------------------------------------------- get-final-combination [10] 100.0% [18] 242(1.2%) 0(0.0%) extract-alt ...e/ztatlock/herbie/src/glue.rkt:57:0 loop [66] 100.0% --------------------------------------------------------------------- split-table [15] 100.0% [19] 2514(12.1%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [27] 100.0% --------------------------------------------------------------------- run-iter! [14] 100.0% [20] 2374(11.4%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [28] 100.0% --------------------------------------------------------------------- iterate-egraph!5 [16] 100.0% [21] 2132(10.3%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [29] 100.0% --------------------------------------------------------------------- run-iter! [14] 100.0% [22] 1026(4.9%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [30] 100.0% --------------------------------------------------------------------- run-iter! [14] 100.0% [23] 256(1.2%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [74] 100.0% --------------------------------------------------------------------- iterate-egraph!5 [16] 100.0% [24] 242(1.2%) 242(1.2%) debug7 /home/ztatlock/herbie/src/debug.rkt:102:0 --------------------------------------------------------------------- run-iter! [14] 100.0% [25] 240(1.2%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [31] 100.0% --------------------------------------------------------------------- run-iter! [14] 100.0% [26] 220(1.1%) 0(0.0%) gen-rewrites! ...ock/herbie/src/mainloop.rkt:148:0 for-loop [32] 100.0% --------------------------------------------------------------------- infer-splitpoints4 [19] 100.0% [27] 2514(12.1%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [34] 92.0% err-lsts->split-indices [39] 8.0% --------------------------------------------------------------------- simplify! [20] 100.0% [28] 2374(11.4%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [33] 100.0% --------------------------------------------------------------------- for-loop [29] 50.0% one-iter [21] 50.0% [29] 2132(10.3%) 848(4.1%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [29] 50.0% match-e [35] 30.1% --------------------------------------------------------------------- finalize-iter! [22] 100.0% [30] 1026(4.9%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [36] 80.3% atab-add-altns [40] 19.7% --------------------------------------------------------------------- gen-series! [25] 100.0% [31] 240(1.2%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [37] 100.0% --------------------------------------------------------------------- gen-rewrites! [26] 100.0% [32] 220(1.1%) 0(0.0%) for-loop ...tatlock/herbie/src/mainloop.rkt:153:11 ??? [38] 100.0% --------------------------------------------------------------------- for-loop [28] 3.9% run [8] 44.4% [33] 20530(98.9%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 44.4% loop [41] 35.3% run-improve58 [2] 16.5% simplify [3] 3.9% --------------------------------------------------------------------- option-on-expr [27] 100.0% [34] 2312(11.1%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [42] 100.0% --------------------------------------------------------------------- for-loop [50] 17.2% for-loop [29] 82.8% [35] 1284(6.2%) 864(4.2%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [44] 41.4% --------------------------------------------------------------------- ??? [30] 100.0% [36] 824(4.0%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [43] 100.0% --------------------------------------------------------------------- for-loop [31] 100.0% [37] 240(1.2%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [45] 100.0% --------------------------------------------------------------------- for-loop [32] 100.0% [38] 220(1.1%) 0(0.0%) ??? /home/ztatlock/herbie/src/alternative.rkt:90:0 loop [66] 100.0% --------------------------------------------------------------------- option-on-expr [27] 100.0% [39] 202(1.0%) 0(0.0%) err-lsts->split-indices .../core/regimes.rkt:224:0 add-splitpoint [46] 100.0% --------------------------------------------------------------------- ??? [30] 100.0% [40] 202(1.0%) 0(0.0%) atab-add-altns ...rbie/src/core/alt-table.rkt:50:0 atab-add-altn [43] 100.0% --------------------------------------------------------------------- run-improve58 [2] 5.0% ??? [33] 95.0% [41] 13658(65.8%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [47] 58.5% make-exacts* [53] 26.3% loop [54] 15.2% --------------------------------------------------------------------- sort-context-on-expr [34] 100.0% [42] 2312(11.1%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [48] 69.6% loop [55] 30.4% --------------------------------------------------------------------- atab-add-altns [40] 19.7% for-loop [36] 80.3% [43] 1026(4.9%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [49] 100.0% --------------------------------------------------------------------- match-e [35] 100.0% [44] 642(3.1%) 420(2.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 for-loop [50] 51.7% --------------------------------------------------------------------- taylor-alt [37] 100.0% [45] 240(1.2%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [51] 100.0% --------------------------------------------------------------------- err-lsts->split-indices [39] 100.0% [46] 202(1.0%) 0(0.0%) add-splitpoint ...erbie/src/core/regimes.rkt:237:2 for-loop [52] 100.0% --------------------------------------------------------------------- loop [41] 100.0% [47] 7986(38.5%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 eval-prog [64] 40.6% make-exacts* [53] 34.2% loop [54] 25.2% --------------------------------------------------------------------- copying-mergesort [48] 41.3% sort [42] 58.7% [48] 1610(7.8%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 loop [55] 45.0% copying-mergesort [48] 41.3% jloop [5] 13.8% --------------------------------------------------------------------- atab-add-altn [43] 100.0% [49] 1026(4.9%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [56] 80.3% for-loop [59] 19.7% --------------------------------------------------------------------- for-loop [44] 100.0% [50] 442(2.1%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [35] 100.0% --------------------------------------------------------------------- location-do [51] 50.0% for-loop [45] 50.0% [51] 240(1.2%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 location-do [51] 50.0% approximate9 [57] 50.0% --------------------------------------------------------------------- add-splitpoint [46] 100.0% [52] 202(1.0%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:239:4 for-loop [58] 100.0% --------------------------------------------------------------------- loop [47] 43.2% loop [41] 56.8% [53] 6320(30.5%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 loop [66] 47.7% map [63] 41.7% eval-prog [64] 10.6% --------------------------------------------------------------------- loop [47] 49.2% loop [41] 50.8% [54] 4098(19.7%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [63] 100.0% --------------------------------------------------------------------- sort [42] 49.2% copying-mergesort [48] 50.8% [55] 1426(6.9%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [60] 100.0% --------------------------------------------------------------------- best-and-tied-at-points [49] 100.0% [56] 824(4.0%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [61] 100.0% --------------------------------------------------------------------- location-do [51] 100.0% [57] 240(1.2%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 f6 [62] 100.0% --------------------------------------------------------------------- for-loop [52] 100.0% [58] 202(1.0%) 202(1.0%) for-loop ...lock/herbie/src/core/regimes.rkt:243:8 --------------------------------------------------------------------- best-and-tied-at-points [49] 100.0% [59] 202(1.0%) 202(1.0%) for-loop ...k/herbie/src/core/alt-table.rkt:124:16 --------------------------------------------------------------------- jloop [5] 38.3% loop [55] 61.7% [60] 2312(11.1%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [64] 100.0% --------------------------------------------------------------------- errors [56] 100.0% [61] 824(4.0%) 202(1.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [69] 48.8% ->flonum [70] 26.7% --------------------------------------------------------------------- approximate9 [57] 48.4% hash-ref! [74] 51.6% [62] 496(2.4%) 0(0.0%) f6 ...et/collects/racket/match/compiler.rkt:499:40 map [63] 51.6% taylor-sqrt [65] 48.4% --------------------------------------------------------------------- f6 [62] 3.7% make-exacts* [53] 37.7% loop [54] 58.6% [63] 6990(33.7%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [66] 96.3% loop [67] 3.7% --------------------------------------------------------------------- make-exacts* [53] 10.8% ??? [60] 37.2% loop [47] 52.1% [64] 6222(30.0%) 2312(11.1%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [74] 58.9% inductor [68] 4.0% --------------------------------------------------------------------- f6 [62] 100.0% [65] 240(1.2%) 0(0.0%) taylor-sqrt ...ck/herbie/src/core/taylor.rkt:346:0 hash-ref! [74] 100.0% --------------------------------------------------------------------- make-exacts* [53] 0.5% ??? [38] 0.6% extract-alt [18] 0.9% map [63] 1.1% parse-loop12 [80] 2.0% ??? [4] 19.7% loop [66] 75.3% [66] 13028(62.8%) 942(4.5%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [66] 75.3% hash-ref! [74] 19.7% ??? [71] 2.0% ??? [69] 1.6% simplify [3] 0.9% ->flonum [70] 0.0% --------------------------------------------------------------------- map [63] 2.9% loop [67] 97.1% [67] 256(1.2%) 256(1.2%) loop ...cket/collects/racket/private/map.rkt:37:19 loop [67] 97.1% --------------------------------------------------------------------- eval-prog [64] 33.3% inductor [68] 66.7% [68] 248(1.2%) 0(0.0%) inductor .../ztatlock/herbie/src/programs.rkt:73:2 inductor [68] 66.7% integer->bigfloat [72] 33.3% --------------------------------------------------------------------- for-loop [61] 4.4% loop [66] 95.6% [69] 9220(44.4%) 508(2.4%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [73] 84.8% real->bigfloat [75] 7.3% ??? [86] 2.4% --------------------------------------------------------------------- loop [66] 48.6% for-loop [61] 51.4% [70] 428(2.1%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [76] 51.4% ??? [88] 48.6% --------------------------------------------------------------------- loop [66] 100.0% [71] 256(1.2%) 0(0.0%) ??? ...ket/collects/racket/private/list.rkt:323:18 hash-ref! [74] 100.0% --------------------------------------------------------------------- inductor [68] 100.0% [72] 248(1.2%) 248(1.2%) integer->bigfloat ...ivate/bigfloat/mpfr.rkt:399:0 --------------------------------------------------------------------- ??? [69] 100.0% [73] 7818(37.7%) 616(3.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [77] 75.0% ...higher-order.rkt:373:33 [79] 17.1% --------------------------------------------------------------------- localize-error [23] 2.1% for-loop [13] 2.9% taylor-sqrt [65] 2.9% ??? [71] 4.1% loop [66] 34.8% eval-prog [64] 53.3% [74] 4158(20.0%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 bigfloat-hash [78] 53.3% ??? [4] 34.8% parse-loop12 [80] 4.1% ??? [7] 2.9% simplify [6] 2.9% f6 [62] 2.1% --------------------------------------------------------------------- ??? [69] 100.0% [75] 672(3.2%) 450(2.2%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [87] 33.0% --------------------------------------------------------------------- ->flonum [70] 100.0% [76] 220(1.1%) 220(1.1%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 --------------------------------------------------------------------- ??? [73] 100.0% [77] 5864(28.3%) 726(3.5%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfdiv [82] 40.7% bfsqrt [83] 35.8% ??? [88] 11.2% --------------------------------------------------------------------- hash-ref! [74] 100.0% [78] 3662(17.6%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 sig+exp->bigfloat [81] 75.9% bfcanonicalize [84] 24.1% --------------------------------------------------------------------- ??? [73] 100.0% [79] 1338(6.4%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [85] 51.1% ??? [86] 48.9% --------------------------------------------------------------------- simplify [6] 48.4% hash-ref! [74] 51.6% [80] 496(2.4%) 240(1.2%) parse-loop12 ...s/racket/match/compiler.rkt:410:15 loop [66] 51.6% --------------------------------------------------------------------- bigfloat-hash [78] 100.0% [81] 2780(13.4%) 2780(13.4%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 --------------------------------------------------------------------- ??? [77] 100.0% [82] 2384(11.5%) 1884(9.1%) bfdiv ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [87] 21.0% --------------------------------------------------------------------- ??? [77] 100.0% [83] 2100(10.1%) 1652(8.0%) bfsqrt ...lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [87] 21.3% --------------------------------------------------------------------- bigfloat-hash [78] 100.0% [84] 882(4.3%) 882(4.3%) bfcanonicalize .../private/bigfloat/mpfr.rkt:155:0 --------------------------------------------------------------------- ...higher-order.rkt:373:33 [79]100.0% [85] 684(3.3%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [86] 100.0% --------------------------------------------------------------------- ??? [69] 14.2% ...higher-order.rkt:373:33 [79] 41.9% ??? [85] 43.8% [86] 1560(7.5%) 196(0.9%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [88] 87.4% --------------------------------------------------------------------- real->bigfloat [75] 19.0% bfsqrt [83] 38.3% bfdiv [82] 42.7% [87] 1170(5.6%) 1170(5.6%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 --------------------------------------------------------------------- ->flonum [70] 9.3% ??? [77] 29.4% ??? [86] 61.3% [88] 2226(10.7%) 434(2.1%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [89] 69.8% ??? [90] 10.7% --------------------------------------------------------------------- ??? [88] 100.0% [89] 1554(7.5%) 884(4.3%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [91] 43.1% --------------------------------------------------------------------- ??? [88] 100.0% [90] 238(1.1%) 238(1.1%) ??? ...ects/racket/contract/private/prop.rkt:489:4 --------------------------------------------------------------------- ??? [89] 100.0% [91] 670(3.2%) 670(3.2%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ---------------------------------------------------------------------