Profiling results ----------------- Total cpu time observed: 10298ms (out of 10592ms) Number of samples taken: 52 (once every 198ms) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [12] 100.0% [1] 9782(95.0%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [8] 100.0% ---------------------------------------------------------------------- loop [44] 12.2% ??? [12] 87.8% [2] 1376(13.4%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [9] 70.8% for-loop [10] 29.2% ---------------------------------------------------------------------- hash-ref! [71] 100.0% [3] 314(3.0%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [44] 100.0% ---------------------------------------------------------------------- copying-mergesort [58] 100.0% [4] 222(2.2%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [64] 100.0% ---------------------------------------------------------------------- hash-ref! [71] 100.0% [5] 200(1.9%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [71] 100.0% ---------------------------------------------------------------------- hash-ref! [71] 100.0% [6] 200(1.9%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 parse-loop50 [78] 100.0% ---------------------------------------------------------------------- hash-ref! [71] 100.0% [7] 200(1.9%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:285:26 for-loop [11] 100.0% ---------------------------------------------------------------------- profile-thunk14 [1] 98.0% [8] 9984(97.0%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [12] 100.0% ---------------------------------------------------------------------- simplify [2] 100.0% [9] 974(9.5%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [13] 79.3% loop [14] 20.7% ---------------------------------------------------------------------- simplify [2] 100.0% [10] 402(3.9%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [13] 100.0% ---------------------------------------------------------------------- ??? [7] 100.0% [11] 200(1.9%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:285:52 hash-ref! [71] 100.0% ---------------------------------------------------------------------- for-loop [46] 3.9% run [8] 47.5% [12] 10298(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 45.5% loop [15] 34.5% run-improve58 [16] 16.0% simplify [2] 3.9% ---------------------------------------------------------------------- for-loop [10] 34.2% simplify-expr [9] 65.8% [13] 1174(11.4%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [17] 100.0% ---------------------------------------------------------------------- simplify-expr [9] 100.0% [14] 202(2.0%) 0(0.0%) loop ...tatlock/herbie/src/core/simplify.rkt:203:2 pass [18] 100.0% ---------------------------------------------------------------------- ??? [12] 100.0% [15] 6796(66.0%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [19] 39.9% make-exacts* [29] 30.5% loop [28] 27.3% for-loop [27] 2.2% ---------------------------------------------------------------------- ??? [12] 100.0% [16] 3502(34.0%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 for-loop [20] 51.6% get-final-combination [21] 42.6% debug-print [23] 5.8% ---------------------------------------------------------------------- iterate-egraph!5 [13] 100.0% [17] 1174(11.4%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [22] 48.6% loop [25] 17.2% apply-match [32] 17.2% loop [26] 17.0% ---------------------------------------------------------------------- loop [14] 100.0% [18] 202(2.0%) 0(0.0%) pass ...tatlock/herbie/src/core/simplify.rkt:193:2 for-loop [24] 100.0% ---------------------------------------------------------------------- loop [15] 100.0% [19] 2714(26.4%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [28] 51.6% make-exacts* [29] 37.5% eval-prog [68] 10.9% ---------------------------------------------------------------------- run-improve58 [16] 100.0% [20] 1808(17.6%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [30] 100.0% ---------------------------------------------------------------------- run-improve58 [16] 100.0% [21] 1492(14.5%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [31] 88.7% extract-alt [34] 11.3% ---------------------------------------------------------------------- for-loop [22] 50.0% one-iter [17] 50.0% [22] 570(5.5%) 202(2.0%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [22] 50.0% match-e [39] 32.3% ---------------------------------------------------------------------- run-improve58 [16] 100.0% [23] 202(2.0%) 202(2.0%) debug-print ...ztatlock/herbie/src/debug.rkt:107:0 ---------------------------------------------------------------------- pass [18] 100.0% [24] 202(2.0%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:196:29 make-sequence [33] 100.0% ---------------------------------------------------------------------- one-iter [17] 100.0% [25] 202(2.0%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [32] 100.0% ---------------------------------------------------------------------- one-iter [17] 100.0% [26] 200(1.9%) 200(1.9%) loop ...ket/collects/racket/private/list.rkt:264:4 ---------------------------------------------------------------------- loop [15] 100.0% [27] 150(1.5%) 0(0.0%) for-loop .../ztatlock/herbie/src/points.rkt:128:18 for-loop [35] 100.0% ---------------------------------------------------------------------- loop [19] 43.0% loop [15] 57.0% [28] 3258(31.6%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [36] 100.0% ---------------------------------------------------------------------- loop [19] 32.9% loop [15] 67.1% [29] 3092(30.0%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 loop [44] 50.6% map [36] 33.7% eval-prog [68] 15.7% ---------------------------------------------------------------------- for-loop [20] 100.0% [30] 1808(17.6%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [38] 66.8% finalize-iter! [40] 11.1% localize-error [41] 11.1% gen-series! [42] 11.1% ---------------------------------------------------------------------- get-final-combination [21] 100.0% [31] 1324(12.9%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [37] 100.0% ---------------------------------------------------------------------- one-iter [17] 50.0% loop [25] 50.0% [32] 404(3.9%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 match-e [39] 100.0% ---------------------------------------------------------------------- for-loop [24] 100.0% [33] 202(2.0%) 202(2.0%) make-sequence ...ects/racket/private/for.rkt:508:2 ---------------------------------------------------------------------- get-final-combination [21] 100.0% [34] 168(1.6%) 0(0.0%) extract-alt ...e/ztatlock/herbie/src/glue.rkt:57:0 loop [44] 100.0% ---------------------------------------------------------------------- for-loop [27] 100.0% [35] 150(1.5%) 0(0.0%) for-loop .../ztatlock/herbie/src/points.rkt:129:20 sample-default [43] 100.0% ---------------------------------------------------------------------- make-exacts* [29] 24.2% loop [28] 75.8% [36] 4300(41.8%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [44] 100.0% ---------------------------------------------------------------------- split-table [31] 100.0% [37] 1324(12.9%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [45] 100.0% ---------------------------------------------------------------------- run-iter! [30] 100.0% [38] 1208(11.7%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [46] 100.0% ---------------------------------------------------------------------- for-loop [48] 13.1% apply-match [32] 39.2% for-loop [22] 47.7% [39] 772(7.5%) 368(3.6%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [47] 39.2% for-loop [48] 13.1% ---------------------------------------------------------------------- run-iter! [30] 100.0% [40] 200(1.9%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [49] 100.0% ---------------------------------------------------------------------- run-iter! [30] 100.0% [41] 200(1.9%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [71] 100.0% ---------------------------------------------------------------------- run-iter! [30] 100.0% [42] 200(1.9%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [50] 100.0% ---------------------------------------------------------------------- for-loop [35] 100.0% [43] 150(1.5%) 0(0.0%) sample-default ...rc/syntax/distributions.rkt:11:0 ??? [51] 100.0% ---------------------------------------------------------------------- parse-loop50 [78] 0.1% make-exacts* [29] 0.1% map [36] 0.7% extract-alt [34] 1.3% ??? [3] 4.8% loop [44] 93.0% [44] 6546(63.6%) 188(1.8%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [44] 93.0% hash-ref! [71] 4.8% simplify [2] 1.3% ??? [67] 0.8% ??? [75] 0.1% ->flonum [72] 0.0% ---------------------------------------------------------------------- infer-splitpoints4 [37] 100.0% [45] 1324(12.9%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [52] 83.2% errors [62] 16.8% ---------------------------------------------------------------------- simplify! [38] 100.0% [46] 1208(11.7%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [12] 100.0% ---------------------------------------------------------------------- match-e [39] 100.0% [47] 404(3.9%) 404(3.9%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 ---------------------------------------------------------------------- match-e [39] 100.0% [48] 202(2.0%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [39] 100.0% ---------------------------------------------------------------------- finalize-iter! [40] 100.0% [49] 200(1.9%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [53] 100.0% ---------------------------------------------------------------------- gen-series! [42] 100.0% [50] 200(1.9%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [54] 100.0% ---------------------------------------------------------------------- sample-default [43] 100.0% [51] 150(1.5%) 150(1.5%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ---------------------------------------------------------------------- option-on-expr [45] 100.0% [52] 1102(10.7%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [55] 100.0% ---------------------------------------------------------------------- ??? [49] 100.0% [53] 200(1.9%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [56] 100.0% ---------------------------------------------------------------------- for-loop [50] 100.0% [54] 200(1.9%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [57] 100.0% ---------------------------------------------------------------------- sort-context-on-expr [52] 100.0% [55] 1102(10.7%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [58] 80.4% loop [61] 19.6% ---------------------------------------------------------------------- for-loop [53] 100.0% [56] 200(1.9%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [59] 100.0% ---------------------------------------------------------------------- taylor-alt [54] 100.0% [57] 200(1.9%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [60] 100.0% ---------------------------------------------------------------------- sort [55] 46.4% copying-mergesort [58] 53.6% [58] 886(8.6%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [58] 53.6% loop [61] 40.2% jloop [4] 6.3% ---------------------------------------------------------------------- atab-add-altn [56] 100.0% [59] 200(1.9%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [62] 100.0% ---------------------------------------------------------------------- for-loop [57] 100.0% [60] 200(1.9%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [63] 100.0% ---------------------------------------------------------------------- sort [55] 24.5% copying-mergesort [58] 75.5% [61] 880(8.5%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [64] 100.0% ---------------------------------------------------------------------- best-and-tied-at-points [59] 47.4% option-on-expr [45] 52.6% [62] 422(4.1%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [65] 100.0% ---------------------------------------------------------------------- location-do [60] 100.0% [63] 200(1.9%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [66] 100.0% ---------------------------------------------------------------------- jloop [4] 20.1% loop [61] 79.9% [64] 1102(10.7%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [68] 100.0% ---------------------------------------------------------------------- errors [62] 100.0% [65] 422(4.1%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [67] 100.0% ---------------------------------------------------------------------- approximate9 [63] 100.0% [66] 200(1.9%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [71] 100.0% ---------------------------------------------------------------------- for-loop [65] 7.4% loop [44] 92.6% [67] 5726(55.6%) 764(7.4%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [69] 58.0% real->bigfloat [70] 25.1% ->flonum [72] 3.5% ---------------------------------------------------------------------- loop [19] 15.7% make-exacts* [29] 25.8% ??? [64] 58.5% [68] 1884(18.3%) 424(4.1%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [71] 41.5% parse-lambda [73] 24.5% new-lambda [74] 11.5% ---------------------------------------------------------------------- ??? [67] 100.0% [69] 3322(32.3%) 222(2.2%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [75] 77.7% ...higher-order.rkt:373:33 [77] 15.6% ---------------------------------------------------------------------- ??? [67] 100.0% [70] 1440(14.0%) 1440(14.0%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ---------------------------------------------------------------------- for-loop [11] 5.6% ??? [5] 5.6% loop [66] 5.6% loop [44] 15.6% localize-error [41] 16.9% eval-prog [68] 50.5% [71] 1182(11.5%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 bigfloat-hash [76] 50.5% parse-loop50 [78] 16.9% ??? [3] 15.6% ??? [5] 5.6% ??? [7] 5.6% simplify [6] 5.6% ---------------------------------------------------------------------- ??? [67] 35.0% loop [44] 65.0% [72] 572(5.6%) 200(1.9%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [79] 36.0% ??? [87] 29.0% ---------------------------------------------------------------------- eval-prog [68] 100.0% [73] 462(4.5%) 462(4.5%) parse-lambda ...llects/racket/private/kw.rkt:393:2 ---------------------------------------------------------------------- eval-prog [68] 100.0% [74] 216(2.1%) 216(2.1%) new-lambda ...ollects/racket/private/kw.rkt:631:11 ---------------------------------------------------------------------- loop [44] 7.2% ??? [69] 92.8% [75] 2782(27.0%) 168(1.6%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfdiv [80] 50.0% bfsqrt [81] 38.2% ??? [87] 5.7% ---------------------------------------------------------------------- hash-ref! [71] 100.0% [76] 782(7.6%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 bfcanonicalize [82] 78.8% sig+exp->bigfloat [84] 21.2% ---------------------------------------------------------------------- ??? [69] 100.0% [77] 518(5.0%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [83] 66.4% ??? [86] 33.6% ---------------------------------------------------------------------- simplify [6] 50.0% hash-ref! [71] 50.0% [78] 400(3.9%) 200(1.9%) parse-loop50 ...s/racket/match/compiler.rkt:410:15 loop [44] 50.0% ---------------------------------------------------------------------- ->flonum [72] 100.0% [79] 206(2.0%) 0(0.0%) ??? ...-racket/utils/simple-result-arrow.rkt:47:15 ??? [85] 100.0% ---------------------------------------------------------------------- ??? [75] 100.0% [80] 1392(13.5%) 868(8.4%) bfdiv ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [85] 37.6% ---------------------------------------------------------------------- ??? [75] 100.0% [81] 1064(10.3%) 532(5.2%) bfsqrt ...lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [85] 50.0% ---------------------------------------------------------------------- bigfloat-hash [76] 100.0% [82] 616(6.0%) 616(6.0%) bfcanonicalize .../private/bigfloat/mpfr.rkt:155:0 ---------------------------------------------------------------------- ...higher-order.rkt:373:33 [77]100.0% [83] 344(3.3%) 178(1.7%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [86] 48.3% ---------------------------------------------------------------------- bigfloat-hash [76] 100.0% [84] 166(1.6%) 166(1.6%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 ---------------------------------------------------------------------- ??? [79] 16.3% bfdiv [80] 41.5% bfsqrt [81] 42.2% [85] 1262(12.3%) 1262(12.3%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- ??? [83] 48.8% ...higher-order.rkt:373:33 [77] 51.2% [86] 340(3.3%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [87] 100.0% ---------------------------------------------------------------------- ??? [75] 23.8% ->flonum [72] 25.0% ??? [86] 51.2% [87] 664(6.4%) 174(1.7%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [88] 73.8% ---------------------------------------------------------------------- ??? [87] 100.0% [88] 490(4.8%) 332(3.2%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [89] 32.2% ---------------------------------------------------------------------- ??? [88] 100.0% [89] 158(1.5%) 158(1.5%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ----------------------------------------------------------------------