Profiling results ----------------- Total cpu time observed: 12632ms (out of 13060ms) Number of samples taken: 51 (once every 248ms) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [7] 100.0% [1] 12632(100.0%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [5] 100.0% ---------------------------------------------------------------------- ??? [7] 100.0% [2] 1018(8.1%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [6] 80.4% iterate-egraph!5 [8] 19.6% ---------------------------------------------------------------------- hash-ref! [45] 100.0% [3] 228(1.8%) 0(0.0%) f6 ...et/collects/racket/match/compiler.rkt:499:40 map [25] 100.0% ---------------------------------------------------------------------- hash-ref! [45] 100.0% [4] 228(1.8%) 0(0.0%) parse-loop12 ...s/racket/match/compiler.rkt:410:15 loop [32] 100.0% ---------------------------------------------------------------------- profile-thunk14 [1] 100.0% [5] 12632(100.0%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [7] 100.0% ---------------------------------------------------------------------- simplify [2] 100.0% [6] 818(6.5%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [8] 75.6% loop [9] 24.4% ---------------------------------------------------------------------- for-loop [34] 2.7% run [5] 48.7% [7] 12632(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 48.7% loop [10] 37.5% run-improve58 [11] 11.2% simplify [2] 2.7% ---------------------------------------------------------------------- simplify [2] 24.4% simplify-expr [6] 75.6% [8] 818(6.5%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [12] 100.0% ---------------------------------------------------------------------- simplify-expr [6] 100.0% [9] 200(1.6%) 0(0.0%) loop ...tatlock/herbie/src/core/simplify.rkt:203:2 pass [13] 100.0% ---------------------------------------------------------------------- ??? [7] 100.0% [10] 9468(75.0%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [14] 47.4% make-exacts* [19] 29.9% loop [20] 22.7% ---------------------------------------------------------------------- ??? [7] 100.0% [11] 3164(25.0%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 for-loop [15] 52.1% get-final-combination [16] 47.9% ---------------------------------------------------------------------- iterate-egraph!5 [8] 100.0% [12] 818(6.5%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [17] 100.0% ---------------------------------------------------------------------- loop [9] 100.0% [13] 200(1.6%) 0(0.0%) pass ...tatlock/herbie/src/core/simplify.rkt:193:2 for-loop [18] 100.0% ---------------------------------------------------------------------- loop [10] 100.0% [14] 4492(35.6%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 make-exacts* [19] 53.9% loop [20] 46.1% ---------------------------------------------------------------------- run-improve58 [11] 100.0% [15] 1650(13.1%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [21] 100.0% ---------------------------------------------------------------------- run-improve58 [11] 100.0% [16] 1514(12.0%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [22] 100.0% ---------------------------------------------------------------------- for-loop [17] 50.0% one-iter [12] 50.0% [17] 818(6.5%) 400(3.2%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [17] 50.0% match-e [23] 25.6% ---------------------------------------------------------------------- pass [13] 100.0% [18] 200(1.6%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:196:29 argmin [24] 100.0% ---------------------------------------------------------------------- loop [14] 46.1% loop [10] 53.9% [19] 5250(41.6%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [25] 59.5% loop [32] 40.5% ---------------------------------------------------------------------- loop [14] 49.1% loop [10] 50.9% [20] 4218(33.4%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [25] 100.0% ---------------------------------------------------------------------- for-loop [15] 100.0% [21] 1650(13.1%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [27] 61.7% finalize-iter! [28] 24.5% localize-error [29] 13.8% ---------------------------------------------------------------------- get-final-combination [16] 100.0% [22] 1514(12.0%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [26] 100.0% ---------------------------------------------------------------------- for-loop [37] 26.1% for-loop [17] 73.9% [23] 418(3.3%) 200(1.6%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [30] 52.2% ---------------------------------------------------------------------- for-loop [18] 100.0% [24] 200(1.6%) 0(0.0%) argmin ...re/racket/collects/racket/list.rkt:743:0 expression-cost [31] 100.0% ---------------------------------------------------------------------- f6 [3] 3.0% make-exacts* [19] 41.3% loop [20] 55.7% [25] 7570(59.9%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [32] 97.0% ??? [42] 1.5% loop [36] 1.5% ---------------------------------------------------------------------- split-table [22] 100.0% [26] 1514(12.0%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [33] 100.0% ---------------------------------------------------------------------- run-iter! [21] 100.0% [27] 1018(8.1%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [34] 100.0% ---------------------------------------------------------------------- run-iter! [21] 100.0% [28] 404(3.2%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [35] 100.0% ---------------------------------------------------------------------- run-iter! [21] 100.0% [29] 228(1.8%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [45] 100.0% ---------------------------------------------------------------------- match-e [23] 100.0% [30] 218(1.7%) 218(1.7%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 for-loop [37] 50.0% ---------------------------------------------------------------------- argmin [24] 100.0% [31] 200(1.6%) 0(0.0%) expression-cost ...k/herbie/src/programs.rkt:212:0 compile [38] 100.0% ---------------------------------------------------------------------- make-exacts* [19] 0.1% map [25] 1.0% parse-loop12 [4] 2.4% loop [32] 96.6% [32] 9696(76.8%) 286(2.3%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [32] 96.6% ??? [42] 2.4% ??? [56] 1.0% ->flonum [60] 0.0% ---------------------------------------------------------------------- infer-splitpoints4 [26] 100.0% [33] 1514(12.0%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [39] 85.1% pick-errors [43] 14.9% ---------------------------------------------------------------------- simplify! [27] 100.0% [34] 1018(8.1%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [7] 100.0% ---------------------------------------------------------------------- finalize-iter! [28] 100.0% [35] 404(3.2%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [40] 100.0% ---------------------------------------------------------------------- map [25] 2.0% loop [36] 98.0% [36] 228(1.8%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:37:19 loop [36] 98.0% ??? [41] 2.0% ---------------------------------------------------------------------- for-loop [30] 100.0% [37] 218(1.7%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [23] 100.0% ---------------------------------------------------------------------- expression-cost [31] 100.0% [38] 200(1.6%) 0(0.0%) compile .../ztatlock/herbie/src/programs.rkt:189:0 hash-ref! [45] 100.0% ---------------------------------------------------------------------- option-on-expr [33] 100.0% [39] 1288(10.2%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [44] 100.0% ---------------------------------------------------------------------- ??? [35] 100.0% [40] 404(3.2%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [46] 100.0% ---------------------------------------------------------------------- loop [36] 100.0% [41] 228(1.8%) 0(0.0%) ??? ...ztatlock/herbie/src/core/localize.rkt:43:32 ->flonum [60] 100.0% ---------------------------------------------------------------------- map [25] 50.0% loop [32] 50.0% [42] 228(1.8%) 0(0.0%) ??? ...ket/collects/racket/private/list.rkt:323:18 hash-ref! [45] 100.0% ---------------------------------------------------------------------- option-on-expr [33] 100.0% [43] 226(1.8%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [47] 100.0% ---------------------------------------------------------------------- sort-context-on-expr [39] 100.0% [44] 1288(10.2%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [48] 84.3% loop [51] 15.7% ---------------------------------------------------------------------- localize-error [29] 17.8% ??? [42] 35.5% compile [38] 46.7% [45] 428(3.4%) 200(1.6%) hash-ref! ...racket/private/more-scheme.rkt:373:13 f6 [3] 35.5% parse-loop12 [4] 17.8% ---------------------------------------------------------------------- for-loop [40] 100.0% [46] 404(3.2%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 loop [49] 50.5% best-and-tied-at-points [50] 49.5% ---------------------------------------------------------------------- pick-errors [43] 100.0% [47] 226(1.8%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [57] 100.0% ---------------------------------------------------------------------- copying-mergesort [48] 44.0% sort [44] 56.0% [48] 1086(8.6%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 loop [51] 45.8% copying-mergesort [48] 44.0% jloop [52] 10.2% ---------------------------------------------------------------------- atab-add-altn [46] 100.0% [49] 204(1.6%) 204(1.6%) loop ...atlock/herbie/src/core/alt-table.rkt:182:2 ---------------------------------------------------------------------- atab-add-altn [46] 100.0% [50] 200(1.6%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [53] 100.0% ---------------------------------------------------------------------- sort [44] 23.9% copying-mergesort [48] 76.1% [51] 846(6.7%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [54] 100.0% ---------------------------------------------------------------------- copying-mergesort [48] 100.0% [52] 442(3.5%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [54] 100.0% ---------------------------------------------------------------------- best-and-tied-at-points [50] 100.0% [53] 200(1.6%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [55] 100.0% ---------------------------------------------------------------------- jloop [52] 34.3% loop [51] 65.7% [54] 1288(10.2%) 222(1.8%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [57] 67.1% ??? [56] 15.7% ---------------------------------------------------------------------- errors [53] 100.0% [55] 200(1.6%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [56] 100.0% ---------------------------------------------------------------------- for-loop [55] 2.2% ??? [54] 2.3% loop [32] 95.5% [56] 8890(70.4%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [58] 69.0% real->bigfloat [59] 26.2% ??? [67] 2.5% ->flonum [60] 2.3% ---------------------------------------------------------------------- for-loop [47] 20.7% ??? [54] 79.3% [57] 1090(8.6%) 1090(8.6%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 ---------------------------------------------------------------------- ??? [56] 100.0% [58] 6134(48.6%) 0(0.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [61] 73.7% ...higher-order.rkt:373:33 [62] 23.1% ??? [63] 3.3% ---------------------------------------------------------------------- ??? [56] 100.0% [59] 2332(18.5%) 2332(18.5%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ---------------------------------------------------------------------- ??? [56] 18.0% ??? [41] 20.3% loop [32] 61.7% [60] 1124(8.9%) 228(1.8%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [69] 41.5% ??? [63] 38.3% ---------------------------------------------------------------------- ??? [58] 100.0% [61] 4518(35.8%) 2188(17.3%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfsqr [64] 31.3% ??? [69] 15.4% bfdiv [65] 4.9% ---------------------------------------------------------------------- ??? [58] 100.0% [62] 1416(11.2%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [67] 84.9% ??? [66] 15.1% ---------------------------------------------------------------------- ??? [58] 31.7% ->flonum [60] 68.3% [63] 630(5.0%) 630(5.0%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ---------------------------------------------------------------------- ??? [61] 100.0% [64] 1412(11.2%) 704(5.6%) bfsqr ...-lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [68] 50.1% ---------------------------------------------------------------------- ??? [61] 100.0% [65] 220(1.7%) 220(1.7%) bfdiv ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ---------------------------------------------------------------------- ...higher-order.rkt:373:33 [62]100.0% [66] 214(1.7%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [67] 100.0% ---------------------------------------------------------------------- ??? [66] 13.1% ??? [56] 13.6% ...higher-order.rkt:373:33 [62] 73.4% [67] 1638(13.0%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [69] 100.0% ---------------------------------------------------------------------- bfsqr [64] 100.0% [68] 708(5.6%) 708(5.6%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- ->flonum [60] 16.6% ??? [61] 24.9% ??? [67] 58.5% [69] 2802(22.2%) 1896(15.0%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [70] 32.3% ---------------------------------------------------------------------- ??? [69] 100.0% [70] 906(7.2%) 906(7.2%) ??? ...llects/racket/contract/combinator.rkt:178:4 ----------------------------------------------------------------------