Profiling results ----------------- Total cpu time observed: 7430ms (out of 7776ms) Number of samples taken: 33 (once every 225ms) ================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ================================================================== ??? [3] 100.0% [1] 7230(97.3%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [2] 100.0% ------------------------------------------------------------------ profile-thunk14 [1] 100.0% [2] 7230(97.3%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [3] 100.0% ------------------------------------------------------------------ for-loop [28] 0.9% run [2] 48.2% [3] 7430(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 48.2% run-improve58 [4] 29.3% loop [5] 21.6% simplify [6] 0.9% ------------------------------------------------------------------ ??? [3] 100.0% [4] 4222(56.8%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [7] 75.4% finalize-table! [9] 15.1% for-loop [10] 9.6% ------------------------------------------------------------------ ??? [3] 100.0% [5] 3208(43.2%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [12] 63.2% loop [8] 36.8% ------------------------------------------------------------------ ??? [3] 100.0% [6] 200(2.7%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 iterate-egraph!5 [40] 100.0% ------------------------------------------------------------------ run-improve58 [4] 100.0% [7] 3182(42.8%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [11] 93.0% extract-alt [16] 7.0% ------------------------------------------------------------------ loop [5] 100.0% [8] 1182(15.9%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [13] 59.4% make-exacts* [12] 40.6% ------------------------------------------------------------------ run-improve58 [4] 100.0% [9] 636(8.6%) 0(0.0%) finalize-table! ...k/herbie/src/mainloop.rkt:264:0 post-process [14] 100.0% ------------------------------------------------------------------ run-improve58 [4] 100.0% [10] 404(5.4%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [15] 100.0% ------------------------------------------------------------------ get-final-combination [7] 100.0% [11] 2960(39.8%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [17] 100.0% ------------------------------------------------------------------ loop [8] 19.2% loop [5] 80.8% [12] 2506(33.7%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 loop [23] 57.2% map [18] 42.8% ------------------------------------------------------------------ loop [8] 100.0% [13] 702(9.4%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [18] 100.0% ------------------------------------------------------------------ finalize-table! [9] 100.0% [14] 636(8.6%) 0(0.0%) post-process .../ztatlock/herbie/src/glue.rkt:95:0 loop [23] 65.4% for-loop [20] 34.6% ------------------------------------------------------------------ for-loop [10] 100.0% [15] 404(5.4%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 finalize-iter! [21] 50.5% simplify! [22] 49.5% ------------------------------------------------------------------ get-final-combination [7] 100.0% [16] 222(3.0%) 0(0.0%) extract-alt ...e/ztatlock/herbie/src/glue.rkt:57:0 argmins [19] 100.0% ------------------------------------------------------------------ split-table [11] 100.0% [17] 2960(39.8%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [24] 100.0% ------------------------------------------------------------------ loop [13] 39.6% make-exacts* [12] 60.4% [18] 1774(23.9%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [23] 100.0% ------------------------------------------------------------------ extract-alt [16] 100.0% [19] 222(3.0%) 0(0.0%) argmins /home/ztatlock/herbie/src/common.rkt:85:0 composed [25] 100.0% ------------------------------------------------------------------ post-process [14] 100.0% [20] 220(3.0%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:119:17 append-map [26] 100.0% ------------------------------------------------------------------ run-iter! [15] 100.0% [21] 204(2.7%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [27] 100.0% ------------------------------------------------------------------ run-iter! [15] 100.0% [22] 200(2.7%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [28] 100.0% ------------------------------------------------------------------ make-exacts* [12] 0.0% map [18] 0.3% post-process [14] 2.4% loop [23] 97.3% [23] 3624(48.8%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [23] 97.3% completely-simplify-alt [30] 2.4% ??? [53] 0.2% ->flonum [57] 0.1% ------------------------------------------------------------------ infer-splitpoints4 [17] 100.0% [24] 2960(39.8%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [29] 93.2% pick-errors [33] 6.8% ------------------------------------------------------------------ argmins [19] 100.0% [25] 222(3.0%) 0(0.0%) composed ...ollects/racket/private/list.rkt:321:16 errors [46] 100.0% ------------------------------------------------------------------ for-loop [20] 100.0% [26] 220(3.0%) 0(0.0%) append-map ...acket/collects/racket/list.rkt:565:2 taylor-alt [31] 100.0% ------------------------------------------------------------------ finalize-iter! [21] 100.0% [27] 204(2.7%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [32] 100.0% ------------------------------------------------------------------ simplify! [22] 100.0% [28] 200(2.7%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [3] 100.0% ------------------------------------------------------------------ option-on-expr [24] 100.0% [29] 2760(37.1%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [34] 100.0% ------------------------------------------------------------------ loop [23] 100.0% [30] 416(5.6%) 0(0.0%) completely-simplify-alt ...erbie/src/glue.rkt:87:0 simplify-expr [35] 100.0% ------------------------------------------------------------------ append-map [26] 100.0% [31] 220(3.0%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [36] 100.0% ------------------------------------------------------------------ ??? [27] 100.0% [32] 204(2.7%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [37] 100.0% ------------------------------------------------------------------ option-on-expr [24] 100.0% [33] 200(2.7%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [38] 100.0% ------------------------------------------------------------------ sort-context-on-expr [29] 100.0% [34] 2760(37.1%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [39] 68.4% loop [43] 31.6% ------------------------------------------------------------------ completely-simplify-alt [30]100.0% [35] 416(5.6%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [40] 100.0% ------------------------------------------------------------------ taylor-alt [31] 100.0% [36] 220(3.0%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [41] 100.0% ------------------------------------------------------------------ for-loop [32] 100.0% [37] 204(2.7%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [42]100.0% ------------------------------------------------------------------ pick-errors [33] 100.0% [38] 200(2.7%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [52] 100.0% ------------------------------------------------------------------ sort [34] 39.3% copying-mergesort [39] 60.7% [39] 1888(25.4%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [39] 60.7% loop [43] 30.9% jloop [44] 8.5% ------------------------------------------------------------------ simplify [6] 32.5% simplify-expr [35] 67.5% [40] 616(8.3%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [45] 100.0% ------------------------------------------------------------------ for-loop [36] 33.3% location-do [41] 66.7% [41] 220(3.0%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 location-do [41] 66.7% approximate9 [47] 33.3% ------------------------------------------------------------------ atab-add-altn [37] 100.0% [42] 204(2.7%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [46] 100.0% ------------------------------------------------------------------ sort [34] 41.1% copying-mergesort [39] 58.9% [43] 2120(28.5%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [48] 100.0% ------------------------------------------------------------------ copying-mergesort [39] 100.0% [44] 640(8.6%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [48] 100.0% ------------------------------------------------------------------ iterate-egraph!5 [40] 100.0% [45] 616(8.3%) 200(2.7%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [50] 67.5% ------------------------------------------------------------------ best-and-tied-at-points [42] 47.9% composed [25] 52.1% [46] 426(5.7%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [49] 100.0% ------------------------------------------------------------------ location-do [41] 100.0% [47] 220(3.0%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 debug-print [51] 100.0% ------------------------------------------------------------------ jloop [44] 23.2% loop [43] 76.8% [48] 2760(37.1%) 200(2.7%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [52] 84.8% ??? [53] 8.0% ------------------------------------------------------------------ errors [46] 100.0% [49] 426(5.7%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [53] 52.1% ulp-difference [56] 47.9% ------------------------------------------------------------------ for-loop [50] 50.0% one-iter [45] 50.0% [50] 416(5.6%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [50] 50.0% match-e [54] 50.0% ------------------------------------------------------------------ approximate9 [47] 100.0% [51] 220(3.0%) 0(0.0%) debug-print ...ztatlock/herbie/src/debug.rkt:107:0 for-loop [55] 100.0% ------------------------------------------------------------------ for-loop [38] 7.9% ??? [48] 92.1% [52] 2540(34.2%) 2332(31.4%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 go [61] 8.2% ------------------------------------------------------------------ ??? [48] 9.2% for-loop [49] 9.3% loop [23] 81.6% [53] 2398(32.3%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [58] 58.2% real->bigfloat [59] 22.9% ??? [60] 9.6% ->flonum [57] 9.3% ------------------------------------------------------------------ for-loop [50] 100.0% [54] 416(5.6%) 416(5.6%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 ------------------------------------------------------------------ debug-print [51] 100.0% [55] 220(3.0%) 220(3.0%) for-loop /home/ztatlock/herbie/src/debug.rkt:113:2 ------------------------------------------------------------------ for-loop [49] 100.0% [56] 204(2.7%) 204(2.7%) ulp-difference ...atlock/herbie/src/float.rkt:19:0 ------------------------------------------------------------------ ??? [53] 15.1% loop [23] 84.9% [57] 1474(19.8%) 712(9.6%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [63] 35.3% ??? [64] 16.4% ------------------------------------------------------------------ ??? [53] 100.0% [58] 1396(18.8%) 220(3.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [62] 84.2% ------------------------------------------------------------------ ??? [53] 100.0% [59] 550(7.4%) 550(7.4%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ------------------------------------------------------------------ ??? [53] 100.0% [60] 230(3.1%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [63] 100.0% ------------------------------------------------------------------ eval-prog [52] 100.0% [61] 208(2.8%) 0(0.0%) go .../collects/racket/private/qq-and-or.rkt:50:20 loop [65] 100.0% ------------------------------------------------------------------ ??? [58] 100.0% [62] 1176(15.8%) 704(9.5%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfatan2 [66] 40.1% ------------------------------------------------------------------ ??? [60] 30.7% ->flonum [57] 69.3% [63] 750(10.1%) 520(7.0%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [67] 30.7% ------------------------------------------------------------------ ->flonum [57] 100.0% [64] 242(3.3%) 0(0.0%) ??? ...-racket/utils/simple-result-arrow.rkt:47:15 ??? [68] 100.0% ------------------------------------------------------------------ go [61] 100.0% [65] 208(2.8%) 208(2.8%) loop ...llects/racket/private/qq-and-or.rkt:101:61 ------------------------------------------------------------------ ??? [62] 100.0% [66] 472(6.4%) 242(3.3%) bfatan2 ...ib/math/private/bigfloat/mpfr.rkt:819:4 ??? [68] 48.7% ------------------------------------------------------------------ ??? [63] 100.0% [67] 230(3.1%) 230(3.1%) ??? ...llects/racket/contract/combinator.rkt:178:4 ------------------------------------------------------------------ bfatan2 [66] 48.7% ??? [64] 51.3% [68] 472(6.4%) 472(6.4%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ------------------------------------------------------------------