Profiling results ----------------- Total cpu time observed: 14682ms (out of 15116ms) Number of samples taken: 67 (once every 219ms) =================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee =================================================================== ??? [28] 100.0% [1] 14480(98.6%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [6] 100.0% ------------------------------------------------------------------- ??? [28] 100.0% [2] 8696(59.2%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [7] 50.5% for-loop [8] 47.2% loop [37] 2.3% ------------------------------------------------------------------- ??? [28] 100.0% [3] 2270(15.5%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [9] 53.0% iterate-egraph!5 [12] 47.0% ------------------------------------------------------------------- f16 [73] 100.0% [4] 202(1.4%) 0(0.0%) taylor-invert .../herbie/src/core/taylor.rkt:312:0 simplify [71] 100.0% ------------------------------------------------------------------- loop [78] 100.0% [5] 202(1.4%) 0(0.0%) ??? ...ket/collects/racket/private/list.rkt:323:18 hash-ref! [69] 50.0% map [75] 50.0% ------------------------------------------------------------------- profile-thunk14 [1] 100.0% [6] 14480(98.6%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [28] 100.0% ------------------------------------------------------------------- run-improve58 [2] 100.0% [7] 4392(29.9%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [10] 100.0% ------------------------------------------------------------------- run-improve58 [2] 100.0% [8] 4104(28.0%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [11] 100.0% ------------------------------------------------------------------- simplify [3] 100.0% [9] 1204(8.2%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [12] 100.0% ------------------------------------------------------------------- get-final-combination [7] 100.0% [10] 4392(29.9%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [13] 100.0% ------------------------------------------------------------------- for-loop [8] 100.0% [11] 4104(28.0%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [14] 55.3% finalize-iter! [16] 24.6% gen-series! [17] 10.3% gen-rewrites! [18] 4.9% localize-error [19] 4.9% ------------------------------------------------------------------- simplify [3] 47.0% simplify-expr [9] 53.0% [12] 2270(15.5%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [15] 100.0% ------------------------------------------------------------------- split-table [10] 100.0% [13] 4392(29.9%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [20] 100.0% ------------------------------------------------------------------- run-iter! [11] 100.0% [14] 2270(15.5%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [21] 100.0% ------------------------------------------------------------------- iterate-egraph!5 [12] 100.0% [15] 2270(15.5%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [22] 73.5% apply-match [34] 8.9% loop [26] 8.8% loop [27] 8.8% ------------------------------------------------------------------- run-iter! [11] 100.0% [16] 1008(6.9%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [23] 100.0% ------------------------------------------------------------------- run-iter! [11] 100.0% [17] 422(2.9%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [24] 100.0% ------------------------------------------------------------------- run-iter! [11] 100.0% [18] 202(1.4%) 0(0.0%) gen-rewrites! ...ock/herbie/src/mainloop.rkt:148:0 for-loop [25] 100.0% ------------------------------------------------------------------- run-iter! [11] 100.0% [19] 202(1.4%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [69] 100.0% ------------------------------------------------------------------- infer-splitpoints4 [13] 100.0% [20] 4392(29.9%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [29] 84.9% err-lsts->split-indices [32] 10.5% pick-errors [36] 4.6% ------------------------------------------------------------------- simplify! [14] 100.0% [21] 2270(15.5%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [28] 100.0% ------------------------------------------------------------------- for-loop [22] 50.0% one-iter [15] 50.0% [22] 1668(11.4%) 622(4.2%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [22] 50.0% match-e [30] 31.4% ------------------------------------------------------------------- finalize-iter! [16] 100.0% [23] 1008(6.9%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [31] 100.0% ------------------------------------------------------------------- gen-series! [17] 100.0% [24] 422(2.9%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [33] 100.0% ------------------------------------------------------------------- gen-rewrites! [18] 100.0% [25] 202(1.4%) 0(0.0%) for-loop ...tatlock/herbie/src/mainloop.rkt:153:11 ??? [35] 100.0% ------------------------------------------------------------------- one-iter [15] 100.0% [26] 200(1.4%) 200(1.4%) loop ...ket/collects/racket/private/list.rkt:264:4 ------------------------------------------------------------------- one-iter [15] 100.0% [27] 200(1.4%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [34] 100.0% ------------------------------------------------------------------- for-loop [21] 5.2% run [6] 46.7% [28] 14682(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 46.7% run-improve58 [2] 27.7% loop [37] 20.4% simplify [3] 5.2% ------------------------------------------------------------------- option-on-expr [20] 100.0% [29] 3730(25.4%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [38] 100.0% ------------------------------------------------------------------- for-loop [52] 10.6% for-loop [22] 89.4% [30] 1046(7.1%) 424(2.9%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [41] 29.7% loop [78] 19.1% for-loop [52] 10.6% ------------------------------------------------------------------- ??? [23] 100.0% [31] 1008(6.9%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [39] 100.0% ------------------------------------------------------------------- option-on-expr [20] 100.0% [32] 462(3.1%) 0(0.0%) err-lsts->split-indices .../core/regimes.rkt:224:0 for-loop [42] 52.4% add-splitpoint [43] 47.6% ------------------------------------------------------------------- for-loop [24] 100.0% [33] 422(2.9%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [40] 100.0% ------------------------------------------------------------------- loop [27] 49.8% one-iter [15] 50.2% [34] 402(2.7%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 loop! [44] 50.2% substitute-e [46] 49.8% ------------------------------------------------------------------- for-loop [25] 100.0% [35] 202(1.4%) 0(0.0%) ??? /home/ztatlock/herbie/src/alternative.rkt:90:0 rewriter [45] 100.0% ------------------------------------------------------------------- option-on-expr [20] 100.0% [36] 200(1.4%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [47] 100.0% ------------------------------------------------------------------- run-improve58 [2] 3.2% ??? [28] 96.8% [37] 6186(42.1%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [56] 53.0% loop [49] 43.8% loop [58] 3.2% ------------------------------------------------------------------- sort-context-on-expr [29] 100.0% [38] 3730(25.4%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [48] 76.7% loop [57] 23.3% ------------------------------------------------------------------- for-loop [31] 100.0% [39] 1008(6.9%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [50]100.0% ------------------------------------------------------------------- taylor-alt [33] 100.0% [40] 422(2.9%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [51] 100.0% ------------------------------------------------------------------- match-e [30] 100.0% [41] 422(2.9%) 200(1.4%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 for-loop [52] 52.6% ------------------------------------------------------------------- err-lsts->split-indices [32]100.0% [42] 242(1.6%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:262:4 map [75] 100.0% ------------------------------------------------------------------- err-lsts->split-indices [32]100.0% [43] 220(1.5%) 0(0.0%) add-splitpoint ...erbie/src/core/regimes.rkt:237:2 for-loop [53] 100.0% ------------------------------------------------------------------- apply-match [34] 100.0% [44] 202(1.4%) 0(0.0%) loop! .../ztatlock/herbie/src/core/enode.rkt:163:2 set [54] 100.0% ------------------------------------------------------------------- matcher [62] 50.0% ??? [35] 50.0% [45] 202(1.4%) 202(1.4%) rewriter ...lock/herbie/src/core/matcher.rkt:123:2 for-loop [55] 50.0% ------------------------------------------------------------------- apply-match [34] 33.3% substitute-e [46] 66.7% [46] 200(1.4%) 200(1.4%) substitute-e ...ck/herbie/src/core/ematch.rkt:71:0 substitute-e [46] 66.7% ------------------------------------------------------------------- pick-errors [36] 100.0% [47] 200(1.4%) 200(1.4%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 ------------------------------------------------------------------- copying-mergesort [48] 47.3% sort [38] 52.7% [48] 2862(19.5%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [48] 47.3% loop [57] 41.3% jloop [59] 11.5% ------------------------------------------------------------------- loop [37] 100.0% [49] 2708(18.4%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [58] 52.4% make-exacts* [56] 47.6% ------------------------------------------------------------------- atab-add-altn [39] 100.0% [50] 1008(6.9%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [60] 80.2% for-loop [63] 19.8% ------------------------------------------------------------------- location-do [51] 23.9% for-loop [40] 76.1% [51] 422(2.9%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [61] 76.1% location-do [51] 23.9% ------------------------------------------------------------------- match-e [30] 50.0% for-loop [41] 50.0% [52] 222(1.5%) 222(1.5%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [30] 50.0% ------------------------------------------------------------------- add-splitpoint [43] 100.0% [53] 220(1.5%) 220(1.5%) for-loop ...lock/herbie/src/core/regimes.rkt:239:4 ------------------------------------------------------------------- loop! [44] 100.0% [54] 202(1.4%) 202(1.4%) set ...collects/racket/private/set-types.rkt:982:0 ------------------------------------------------------------------- rewriter [45] 100.0% [55] 202(1.4%) 0(0.0%) for-loop ...ock/herbie/src/core/matcher.rkt:126:10 matcher [62] 100.0% ------------------------------------------------------------------- loop [49] 28.2% loop [37] 71.8% [56] 4568(31.1%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [75] 58.4% loop [78] 41.6% ------------------------------------------------------------------- sort [38] 36.0% copying-mergesort [48] 64.0% [57] 2414(16.4%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [64] 100.0% ------------------------------------------------------------------- loop [37] 12.4% loop [49] 87.6% [58] 1618(11.0%) 200(1.4%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [75] 87.6% ------------------------------------------------------------------- copying-mergesort [48] 100.0% [59] 1316(9.0%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [64] 100.0% ------------------------------------------------------------------- best-and-tied-at-points [50]100.0% [60] 808(5.5%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [65] 100.0% ------------------------------------------------------------------- location-do [51] 100.0% [61] 422(2.9%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [66] 52.1% f16 [73] 47.9% ------------------------------------------------------------------- for-loop [67] 50.0% for-loop [55] 50.0% [62] 202(1.4%) 0(0.0%) matcher ...tlock/herbie/src/core/matcher.rkt:159:2 for-loop [67] 50.0% rewriter [45] 50.0% ------------------------------------------------------------------- best-and-tied-at-points [50]100.0% [63] 200(1.4%) 200(1.4%) for-loop ...k/herbie/src/core/alt-table.rkt:124:16 ------------------------------------------------------------------- jloop [59] 35.3% loop [57] 64.7% [64] 3730(25.4%) 218(1.5%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [68] 94.2% ------------------------------------------------------------------- errors [60] 100.0% [65] 808(5.5%) 202(1.4%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [79] 75.0% ------------------------------------------------------------------- approximate9 [61] 100.0% [66] 220(1.5%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [69] 100.0% ------------------------------------------------------------------- matcher [62] 100.0% [67] 202(1.4%) 0(0.0%) for-loop ...ock/herbie/src/core/matcher.rkt:175:21 matcher [62] 100.0% ------------------------------------------------------------------- ??? [64] 100.0% [68] 3512(23.9%) 3048(20.8%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 parse-lambda [70] 13.2% ------------------------------------------------------------------- ??? [5] 23.9% localize-error [19] 23.9% ??? [72] 26.1% loop [66] 26.1% [69] 422(2.9%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [72] 26.1% simplify [71] 26.1% parse-loop50 [77] 23.9% f16 [73] 23.9% ------------------------------------------------------------------- eval-prog [68] 100.0% [70] 464(3.2%) 464(3.2%) parse-lambda ...llects/racket/private/kw.rkt:393:2 ------------------------------------------------------------------- taylor-invert [4] 47.9% hash-ref! [69] 52.1% [71] 422(2.9%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 f16 [73] 52.1% debug-print [74] 47.9% ------------------------------------------------------------------- hash-ref! [69] 100.0% [72] 220(1.5%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [69] 100.0% ------------------------------------------------------------------- simplify [71] 11.8% f16 [73] 16.2% approximate9 [61] 16.2% map [75] 23.5% hash-ref! [69] 32.4% [73] 624(4.3%) 0(0.0%) f16 ...t/collects/racket/match/compiler.rkt:499:40 map [75] 67.6% f16 [73] 16.2% taylor-invert [4] 16.2% ------------------------------------------------------------------- simplify [71] 100.0% [74] 202(1.4%) 0(0.0%) debug-print ...ztatlock/herbie/src/debug.rkt:107:0 for-loop [76] 100.0% ------------------------------------------------------------------- ??? [5] 2.1% for-loop [42] 5.1% f16 [73] 6.8% loop [58] 29.9% make-exacts* [56] 56.1% [75] 4748(32.3%) 242(1.6%) map ...acket/collects/racket/private/map.rkt:21:13 loop [78] 88.1% f16 [73] 3.1% ->flonum [82] 2.1% parse-loop50 [77] 1.5% ------------------------------------------------------------------- debug-print [74] 100.0% [76] 202(1.4%) 202(1.4%) for-loop /home/ztatlock/herbie/src/debug.rkt:113:2 ------------------------------------------------------------------- hash-ref! [69] 47.9% map [75] 52.1% [77] 422(2.9%) 220(1.5%) parse-loop50 ...s/racket/match/compiler.rkt:410:15 loop [78] 47.9% ------------------------------------------------------------------- make-exacts* [56] 0.1% parse-loop50 [77] 0.1% match-e [30] 3.1% map [75] 3.2% loop [78] 93.5% [78] 6388(43.5%) 200(1.4%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [78] 93.5% ??? [79] 3.1% ??? [5] 0.2% ->flonum [82] 0.0% ------------------------------------------------------------------- for-loop [65] 9.5% loop [78] 90.5% [79] 6356(43.3%) 1368(9.3%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [80] 49.7% real->bigfloat [81] 22.3% ??? [83] 3.3% ->flonum [82] 3.2% ------------------------------------------------------------------- ??? [79] 100.0% [80] 3158(21.5%) 0(0.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [86] 72.4% bf* [84] 21.2% ??? [85] 6.4% ------------------------------------------------------------------- ??? [79] 100.0% [81] 1420(9.7%) 1202(8.2%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [90] 15.4% ------------------------------------------------------------------- map [75] 31.6% ??? [79] 31.6% loop [78] 36.9% [82] 640(4.4%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [85] 68.4% ??? [87] 31.6% ------------------------------------------------------------------- ??? [79] 100.0% [83] 208(1.4%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [87] 100.0% ------------------------------------------------------------------- ??? [80] 100.0% [84] 670(4.6%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [86] 100.0% ------------------------------------------------------------------- ??? [80] 31.6% ->flonum [82] 68.4% [85] 640(4.4%) 640(4.4%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ------------------------------------------------------------------- bf* [84] 22.7% ??? [80] 77.3% [86] 2956(20.1%) 1364(9.3%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfcot [88] 23.1% ??? [87] 15.6% bfmul [89] 15.2% ------------------------------------------------------------------- ->flonum [82] 23.2% ??? [83] 23.9% ??? [86] 52.9% [87] 870(5.9%) 448(3.1%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [91] 48.5% ------------------------------------------------------------------- ??? [86] 100.0% [88] 682(4.6%) 238(1.6%) bfcot ...-lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [90] 65.1% ------------------------------------------------------------------- ??? [86] 100.0% [89] 450(3.1%) 450(3.1%) bfmul ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ------------------------------------------------------------------- real->bigfloat [81] 32.9% bfcot [88] 67.1% [90] 662(4.5%) 662(4.5%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ------------------------------------------------------------------- ??? [87] 100.0% [91] 422(2.9%) 422(2.9%) ??? ...llects/racket/contract/combinator.rkt:178:4 -------------------------------------------------------------------