Profiling results ----------------- Total cpu time observed: 16418ms (out of 16832ms) Number of samples taken: 68 (once every 241ms) ===================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ===================================================================== ??? [24] 100.0% [1] 15756(96.0%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [4] 100.0% --------------------------------------------------------------------- ??? [24] 100.0% [2] 7896(48.1%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [5] 59.5% for-loop [6] 37.4% loop [30] 3.0% --------------------------------------------------------------------- ??? [24] 100.0% [3] 2334(14.2%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [7] 38.2% for-loop [8] 34.6% iterate-egraph!5 [11] 27.2% --------------------------------------------------------------------- profile-thunk14 [1] 100.0% [4] 15756(96.0%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [24] 100.0% --------------------------------------------------------------------- run-improve58 [2] 100.0% [5] 4700(28.6%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [9] 100.0% --------------------------------------------------------------------- run-improve58 [2] 100.0% [6] 2956(18.0%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [10] 100.0% --------------------------------------------------------------------- simplify [3] 100.0% [7] 892(5.4%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [11] 100.0% --------------------------------------------------------------------- simplify [3] 100.0% [8] 808(4.9%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [11] 75.0% loop [12] 25.0% --------------------------------------------------------------------- get-final-combination [5] 100.0% [9] 4700(28.6%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [13] 100.0% --------------------------------------------------------------------- for-loop [6] 100.0% [10] 2956(18.0%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [14] 79.0% choose-best-alt! [16] 14.3% finalize-iter! [18] 6.8% --------------------------------------------------------------------- for-loop [8] 28.4% simplify [3] 29.7% simplify-expr [7] 41.8% [11] 2132(13.0%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [15] 100.0% --------------------------------------------------------------------- for-loop [8] 100.0% [12] 202(1.2%) 0(0.0%) loop ...tatlock/herbie/src/core/simplify.rkt:203:2 pass [17] 100.0% --------------------------------------------------------------------- split-table [9] 100.0% [13] 4700(28.6%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [48] 80.2% loop [47] 19.8% --------------------------------------------------------------------- run-iter! [10] 100.0% [14] 2334(14.2%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [19] 100.0% --------------------------------------------------------------------- iterate-egraph!5 [11] 100.0% [15] 2132(13.0%) 202(1.2%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [20] 59.8% loop [21] 30.7% --------------------------------------------------------------------- run-iter! [10] 100.0% [16] 422(2.6%) 0(0.0%) choose-best-alt! .../herbie/src/mainloop.rkt:120:0 ??? [22] 100.0% --------------------------------------------------------------------- loop [12] 100.0% [17] 202(1.2%) 0(0.0%) pass ...tatlock/herbie/src/core/simplify.rkt:193:2 for-loop [23] 100.0% --------------------------------------------------------------------- run-iter! [10] 100.0% [18] 200(1.2%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [22] 100.0% --------------------------------------------------------------------- simplify! [14] 100.0% [19] 2334(14.2%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [24] 100.0% --------------------------------------------------------------------- for-loop [20] 50.0% one-iter [15] 50.0% [20] 1276(7.8%) 402(2.4%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [20] 50.0% match-e [25] 34.2% --------------------------------------------------------------------- one-iter [15] 100.0% [21] 654(4.0%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [26] 100.0% --------------------------------------------------------------------- finalize-iter! [18] 32.2% choose-best-alt! [16] 67.8% [22] 622(3.8%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 atab-pick-alt8 [27] 67.8% for-loop [29] 32.2% --------------------------------------------------------------------- pass [17] 100.0% [23] 202(1.2%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:196:29 argmin [28] 100.0% --------------------------------------------------------------------- for-loop [19] 5.2% run [4] 46.7% [24] 16178(98.5%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 46.7% loop [30] 25.6% run-improve58 [2] 22.4% simplify [3] 5.2% --------------------------------------------------------------------- for-loop [36] 11.4% for-loop [20] 88.6% [25] 874(5.3%) 640(3.9%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 custom-in-set [32] 26.8% for-loop [36] 11.4% --------------------------------------------------------------------- loop [21] 100.0% [26] 654(4.0%) 422(2.6%) apply-match .../herbie/src/core/simplify.rkt:122:2 reduce-to-single! [33] 35.5% --------------------------------------------------------------------- ??? [22] 100.0% [27] 422(2.6%) 0(0.0%) atab-pick-alt8 ...rbie/src/core/alt-table.rkt:54:0 ??? [31] 100.0% --------------------------------------------------------------------- for-loop [23] 100.0% [28] 202(1.2%) 0(0.0%) argmin ...re/racket/collects/racket/list.rkt:743:0 expression-cost [34] 100.0% --------------------------------------------------------------------- ??? [22] 100.0% [29] 200(1.2%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [35] 100.0% --------------------------------------------------------------------- run-improve58 [2] 2.8% ??? [24] 97.2% [30] 8522(51.9%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [41] 54.9% loop [37] 42.3% loop [42] 2.8% --------------------------------------------------------------------- atab-pick-alt8 [27] 100.0% [31] 422(2.6%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:369:33 best-alt [38] 100.0% --------------------------------------------------------------------- match-e [25] 100.0% [32] 234(1.4%) 234(1.4%) custom-in-set ...acket/private/set-types.rkt:578:0 --------------------------------------------------------------------- apply-match [26] 100.0% [33] 232(1.4%) 232(1.4%) reduce-to-single! ...bie/src/core/egraph.rkt:324:0 --------------------------------------------------------------------- argmin [28] 100.0% [34] 202(1.2%) 0(0.0%) expression-cost ...k/herbie/src/programs.rkt:212:0 compile [39] 100.0% --------------------------------------------------------------------- for-loop [29] 100.0% [35] 200(1.2%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [40] 100.0% --------------------------------------------------------------------- match-e [25] 100.0% [36] 200(1.2%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [25] 100.0% --------------------------------------------------------------------- loop [30] 100.0% [37] 3604(22.0%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [42] 61.6% make-exacts* [41] 38.4% --------------------------------------------------------------------- ??? [31] 100.0% [38] 422(2.6%) 0(0.0%) best-alt /home/ztatlock/herbie/src/glue.rkt:79:0 loop [43] 52.6% argmins [44] 47.4% --------------------------------------------------------------------- expression-cost [34] 100.0% [39] 202(1.2%) 0(0.0%) compile .../ztatlock/herbie/src/programs.rkt:189:0 hash-ref! [68] 100.0% --------------------------------------------------------------------- atab-add-altn [35] 100.0% [40] 200(1.2%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [50] 100.0% --------------------------------------------------------------------- loop [37] 22.8% loop [30] 77.2% [41] 6062(36.9%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [45] 55.2% loop [47] 44.8% --------------------------------------------------------------------- loop [30] 9.8% loop [37] 90.2% [42] 2460(15.0%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [45] 100.0% --------------------------------------------------------------------- best-alt [38] 100.0% [43] 222(1.4%) 0(0.0%) loop /home/ztatlock/herbie/src/common.rkt:86:2 composed [46] 100.0% --------------------------------------------------------------------- best-alt [38] 100.0% [44] 200(1.2%) 0(0.0%) argmins /home/ztatlock/herbie/src/common.rkt:85:0 composed [46] 100.0% --------------------------------------------------------------------- loop [42] 42.4% make-exacts* [41] 57.6% [45] 5808(35.4%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [47] 100.0% --------------------------------------------------------------------- argmins [44] 47.4% loop [43] 52.6% [46] 422(2.6%) 0(0.0%) composed ...ollects/racket/private/list.rkt:321:16 errors [50] 100.0% --------------------------------------------------------------------- option-on-expr [48] 1.1% map [45] 1.5% make-exacts* [41] 1.6% infer-splitpoints4 [13] 9.6% loop [47] 86.2% [47] 9676(58.9%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [47] 86.2% option-on-expr [48] 9.6% ??? [63] 2.9% errors [50] 1.1% ->flonum [67] 0.1% --------------------------------------------------------------------- loop [47] 19.8% infer-splitpoints4 [13] 80.2% [48] 4700(28.6%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [49] 81.2% loop [47] 4.7% pick-errors [52] 4.7% errors [50] 4.7% err-lsts->split-indices [51] 4.7% --------------------------------------------------------------------- option-on-expr [48] 100.0% [49] 3818(23.3%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [53] 100.0% --------------------------------------------------------------------- best-and-tied-at-points [40] 18.8% option-on-expr [48] 20.7% loop [47] 20.9% composed [46] 39.7% [50] 1064(6.5%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [54] 58.5% eval-prog [64] 41.5% --------------------------------------------------------------------- option-on-expr [48] 100.0% [51] 220(1.3%) 0(0.0%) err-lsts->split-indices .../core/regimes.rkt:224:0 add-splitpoint [55] 100.0% --------------------------------------------------------------------- option-on-expr [48] 100.0% [52] 220(1.3%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [56] 100.0% --------------------------------------------------------------------- sort-context-on-expr [49] 100.0% [53] 3818(23.3%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [57] 81.9% loop [59] 18.1% --------------------------------------------------------------------- errors [50] 100.0% [54] 622(3.8%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [63] 100.0% --------------------------------------------------------------------- err-lsts->split-indices [51] 100.0% [55] 220(1.3%) 0(0.0%) add-splitpoint ...erbie/src/core/regimes.rkt:237:2 for-loop [58] 100.0% --------------------------------------------------------------------- pick-errors [52] 100.0% [56] 220(1.3%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [64] 100.0% --------------------------------------------------------------------- copying-mergesort [57] 49.7% sort [53] 50.3% [57] 3128(19.1%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [57] 49.7% loop [59] 39.7% jloop [60] 10.6% --------------------------------------------------------------------- add-splitpoint [55] 100.0% [58] 220(1.3%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:239:4 for-loop [61] 100.0% --------------------------------------------------------------------- sort [53] 27.7% copying-mergesort [57] 72.3% [59] 2494(15.2%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [62] 100.0% --------------------------------------------------------------------- copying-mergesort [57] 100.0% [60] 1324(8.1%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [62] 100.0% --------------------------------------------------------------------- for-loop [58] 100.0% [61] 220(1.3%) 220(1.3%) for-loop ...lock/herbie/src/core/regimes.rkt:243:8 --------------------------------------------------------------------- jloop [60] 34.7% loop [59] 65.3% [62] 3818(23.3%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [64] 89.0% ??? [63] 11.0% --------------------------------------------------------------------- ??? [62] 4.6% for-loop [54] 6.8% loop [47] 88.6% [63] 9156(55.8%) 930(5.7%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [65] 56.0% real->bigfloat [66] 24.2% ??? [75] 7.4% ->flonum [67] 2.2% --------------------------------------------------------------------- for-loop [56] 5.4% errors [50] 10.9% ??? [62] 83.7% [64] 4060(24.7%) 3838(23.4%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [68] 5.5% --------------------------------------------------------------------- ??? [63] 100.0% [65] 5130(31.2%) 622(3.8%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [69] 73.1% ...higher-order.rkt:373:33 [70] 14.7% --------------------------------------------------------------------- ??? [63] 100.0% [66] 2212(13.5%) 1550(9.4%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [76] 29.9% --------------------------------------------------------------------- ??? [63] 33.1% loop [47] 66.9% [67] 610(3.7%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [77] 66.9% ??? [72] 33.1% --------------------------------------------------------------------- compile [39] 47.6% eval-prog [64] 52.4% [68] 424(2.6%) 202(1.2%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [71] 52.4% --------------------------------------------------------------------- ??? [65] 100.0% [69] 3752(22.9%) 1562(9.5%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfhypot [73] 50.5% ??? [77] 7.8% --------------------------------------------------------------------- ??? [65] 100.0% [70] 756(4.6%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [74] 100.0% --------------------------------------------------------------------- hash-ref! [68] 100.0% [71] 222(1.4%) 222(1.4%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 --------------------------------------------------------------------- ->flonum [67] 100.0% [72] 202(1.2%) 202(1.2%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 --------------------------------------------------------------------- ??? [69] 100.0% [73] 1896(11.5%) 1646(10.0%) bfhypot ...ib/math/private/bigfloat/mpfr.rkt:819:4 ??? [76] 13.2% --------------------------------------------------------------------- ...higher-order.rkt:373:33 [70]100.0% [74] 756(4.6%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [75] 100.0% --------------------------------------------------------------------- ??? [63] 47.4% ??? [74] 52.6% [75] 1438(8.8%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [77] 100.0% --------------------------------------------------------------------- bfhypot [73] 27.4% real->bigfloat [66] 72.6% [76] 912(5.6%) 912(5.6%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 --------------------------------------------------------------------- ??? [69] 13.7% ->flonum [67] 19.1% ??? [75] 67.2% [77] 2140(13.0%) 1672(10.2%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [78] 21.9% --------------------------------------------------------------------- ??? [77] 100.0% [78] 468(2.9%) 228(1.4%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [79] 51.3% --------------------------------------------------------------------- ??? [78] 100.0% [79] 240(1.5%) 240(1.5%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ---------------------------------------------------------------------