Profiling results ----------------- Total cpu time observed: 9246ms (out of 9400ms) Number of samples taken: 35 (once every 264ms) ===================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ===================================================================== ??? [7] 100.0% [1] 8844(95.7%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [4] 100.0% --------------------------------------------------------------------- ??? [7] 100.0% [2] 1876(20.3%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [5] 56.6% for-loop [6] 22.3% iterate-egraph!5 [8] 21.1% --------------------------------------------------------------------- loop [42] 100.0% [3] 200(2.2%) 0(0.0%) ??? ...ket/collects/racket/private/list.rkt:323:18 map [23] 100.0% --------------------------------------------------------------------- profile-thunk14 [1] 100.0% [4] 8844(95.7%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [7] 100.0% --------------------------------------------------------------------- simplify [2] 100.0% [5] 1062(11.5%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [8] 100.0% --------------------------------------------------------------------- simplify [2] 100.0% [6] 418(4.5%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [8] 100.0% --------------------------------------------------------------------- for-loop [31] 6.8% run [4] 44.4% [7] 9246(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 44.4% loop [9] 29.4% run-improve58 [10] 19.4% simplify [2] 6.8% --------------------------------------------------------------------- simplify [2] 21.1% for-loop [6] 22.3% simplify-expr [5] 56.6% [8] 1876(20.3%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [11] 100.0% --------------------------------------------------------------------- ??? [7] 100.0% [9] 5242(56.7%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [12] 52.2% make-exacts* [16] 47.8% --------------------------------------------------------------------- ??? [7] 100.0% [10] 4004(43.3%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 for-loop [13] 56.9% get-final-combination [15] 43.1% --------------------------------------------------------------------- iterate-egraph!5 [8] 100.0% [11] 1876(20.3%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [14] 100.0% --------------------------------------------------------------------- loop [9] 100.0% [12] 2734(29.6%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [20] 53.7% make-exacts* [16] 46.3% --------------------------------------------------------------------- run-improve58 [10] 100.0% [13] 2278(24.6%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [17] 100.0% --------------------------------------------------------------------- for-loop [14] 50.0% one-iter [11] 50.0% [14] 1876(20.3%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [14] 50.0% match-e [18] 44.7% ??? [22] 5.3% --------------------------------------------------------------------- run-improve58 [10] 100.0% [15] 1726(18.7%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [19] 88.2% extract-alt [21] 11.8% --------------------------------------------------------------------- loop [12] 33.5% loop [9] 66.5% [16] 3774(40.8%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [23] 59.5% loop [42] 40.5% --------------------------------------------------------------------- for-loop [13] 100.0% [17] 2278(24.6%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [24] 82.4% finalize-iter! [28] 8.9% localize-error [30] 8.8% --------------------------------------------------------------------- for-loop [33] 6.0% for-loop [14] 94.0% [18] 1676(18.1%) 818(8.8%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [26] 39.3% constant? [29] 11.9% --------------------------------------------------------------------- get-final-combination [15] 100.0% [19] 1522(16.5%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [25] 100.0% --------------------------------------------------------------------- loop [12] 100.0% [20] 1468(15.9%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [23] 100.0% --------------------------------------------------------------------- get-final-combination [15] 100.0% [21] 204(2.2%) 0(0.0%) extract-alt ...e/ztatlock/herbie/src/glue.rkt:57:0 argmins [27] 100.0% --------------------------------------------------------------------- for-loop [14] 100.0% [22] 200(2.2%) 200(2.2%) ??? /home/ztatlock/herbie/src/core/ematch.rkt:50:5 --------------------------------------------------------------------- ??? [3] 5.1% loop [20] 37.5% make-exacts* [16] 57.4% [23] 3914(42.3%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [42] 94.9% ->flonum [47] 5.1% --------------------------------------------------------------------- run-iter! [17] 100.0% [24] 1876(20.3%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [31] 100.0% --------------------------------------------------------------------- split-table [19] 100.0% [25] 1522(16.5%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [32] 100.0% --------------------------------------------------------------------- match-e [18] 100.0% [26] 658(7.1%) 440(4.8%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 for-loop [33] 48.5% --------------------------------------------------------------------- extract-alt [21] 100.0% [27] 204(2.2%) 0(0.0%) argmins /home/ztatlock/herbie/src/common.rkt:85:0 errors-score [34] 100.0% --------------------------------------------------------------------- run-iter! [17] 100.0% [28] 202(2.2%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [35] 100.0% --------------------------------------------------------------------- match-e [18] 100.0% [29] 200(2.2%) 200(2.2%) constant? ...ck/herbie/src/syntax/syntax.rkt:221:0 --------------------------------------------------------------------- run-iter! [17] 100.0% [30] 200(2.2%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [36] 100.0% --------------------------------------------------------------------- simplify! [24] 100.0% [31] 1876(20.3%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [7] 100.0% --------------------------------------------------------------------- infer-splitpoints4 [25] 100.0% [32] 1522(16.5%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [37] 85.4% err-lsts->split-indices [38] 14.6% --------------------------------------------------------------------- for-loop [26] 100.0% [33] 420(4.5%) 218(2.4%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [18] 48.1% --------------------------------------------------------------------- argmins [27] 100.0% [34] 204(2.2%) 0(0.0%) errors-score ...atlock/herbie/src/points.rkt:154:0 loop [39] 100.0% --------------------------------------------------------------------- finalize-iter! [28] 100.0% [35] 202(2.2%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 atab-add-altns [40] 100.0% --------------------------------------------------------------------- localize-error [30] 100.0% [36] 200(2.2%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 parse-loop12 [41] 100.0% --------------------------------------------------------------------- option-on-expr [32] 100.0% [37] 1300(14.1%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [43] 100.0% --------------------------------------------------------------------- option-on-expr [32] 100.0% [38] 222(2.4%) 0(0.0%) err-lsts->split-indices .../core/regimes.rkt:224:0 add-splitpoint [44] 100.0% --------------------------------------------------------------------- errors-score [34] 100.0% [39] 204(2.2%) 204(2.2%) loop ...hare/racket/collects/racket/list.rkt:551:2 --------------------------------------------------------------------- ??? [35] 100.0% [40] 202(2.2%) 0(0.0%) atab-add-altns ...rbie/src/core/alt-table.rkt:50:0 atab-add-altn [45] 100.0% --------------------------------------------------------------------- hash-ref! [36] 100.0% [41] 200(2.2%) 0(0.0%) parse-loop12 ...s/racket/match/compiler.rkt:410:15 loop [42] 100.0% --------------------------------------------------------------------- make-exacts* [16] 0.1% parse-loop12 [41] 0.2% map [23] 0.4% loop [42] 99.4% [42] 5442(58.9%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [42] 99.4% ??? [57] 0.3% ??? [3] 0.2% ->flonum [47] 0.2% --------------------------------------------------------------------- sort-context-on-expr [37] 100.0% [43] 1300(14.1%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [46] 66.6% loop [51] 33.4% --------------------------------------------------------------------- err-lsts->split-indices [38] 100.0% [44] 222(2.4%) 0(0.0%) add-splitpoint ...erbie/src/core/regimes.rkt:237:2 for-loop [48] 100.0% --------------------------------------------------------------------- atab-add-altns [40] 100.0% [45] 202(2.2%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [49] 100.0% --------------------------------------------------------------------- sort [43] 31.2% copying-mergesort [46] 68.8% [46] 866(9.4%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [46] 68.8% jloop [50] 18.8% loop [51] 12.4% --------------------------------------------------------------------- map [23] 31.8% loop [42] 68.2% [47] 628(6.8%) 200(2.2%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [52] 36.0% ??? [53] 32.2% --------------------------------------------------------------------- add-splitpoint [44] 100.0% [48] 222(2.4%) 222(2.4%) for-loop ...lock/herbie/src/core/regimes.rkt:239:4 --------------------------------------------------------------------- atab-add-altn [45] 100.0% [49] 202(2.2%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [54] 100.0% --------------------------------------------------------------------- copying-mergesort [46] 100.0% [50] 652(7.1%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [55] 100.0% --------------------------------------------------------------------- copying-mergesort [46] 33.0% sort [43] 67.0% [51] 648(7.0%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [55] 100.0% --------------------------------------------------------------------- ->flonum [47] 100.0% [52] 226(2.4%) 0(0.0%) ??? ...-racket/utils/simple-result-arrow.rkt:47:15 ??? [62] 100.0% --------------------------------------------------------------------- ->flonum [47] 100.0% [53] 202(2.2%) 202(2.2%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 --------------------------------------------------------------------- best-and-tied-at-points [49] 100.0% [54] 202(2.2%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [56] 100.0% --------------------------------------------------------------------- loop [51] 49.8% jloop [50] 50.2% [55] 1300(14.1%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [58] 100.0% --------------------------------------------------------------------- errors [54] 100.0% [56] 202(2.2%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [57] 100.0% --------------------------------------------------------------------- for-loop [56] 4.0% loop [42] 96.0% [57] 5016(54.3%) 206(2.2%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [59] 77.9% real->bigfloat [60] 18.0% --------------------------------------------------------------------- ??? [55] 100.0% [58] 1300(14.1%) 1300(14.1%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 --------------------------------------------------------------------- ??? [57] 100.0% [59] 3908(42.3%) 202(2.2%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [66] 40.3% bffma [61] 25.9% ...ow-val-first.rkt:357:18 [64] 21.4% ...higher-order.rkt:373:33 [63] 7.1% --------------------------------------------------------------------- ??? [57] 100.0% [60] 902(9.8%) 602(6.5%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [62] 33.3% --------------------------------------------------------------------- ??? [59] 100.0% [61] 1014(11.0%) 0(0.0%) bffma ...atlock/herbie/src/syntax/syntax.rkt:122:0 bf* [65] 76.7% ...ow-val-first.rkt:357:18 [64] 23.3% --------------------------------------------------------------------- ??? [52] 43.0% real->bigfloat [60] 57.0% [62] 526(5.7%) 526(5.7%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 --------------------------------------------------------------------- ??? [59] 100.0% [63] 278(3.0%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [67] 100.0% --------------------------------------------------------------------- bffma [61] 22.0% ??? [59] 78.0% [64] 1074(11.6%) 0(0.0%) ...ow-val-first.rkt:357:18 (unknown source) ??? [67] 100.0% --------------------------------------------------------------------- bffma [61] 100.0% [65] 778(8.4%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [66] 100.0% --------------------------------------------------------------------- bf* [65] 33.1% ??? [59] 66.9% [66] 2354(25.5%) 0(0.0%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfsub [68] 90.7% ??? [70] 9.3% --------------------------------------------------------------------- ...higher-order.rkt:373:33 [63] 20.6% ...ow-val-first.rkt:357:18 [64] 79.4% [67] 1352(14.6%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [69] 100.0% --------------------------------------------------------------------- ??? [66] 100.0% [68] 2136(23.1%) 2136(23.1%) bfsub ...-lib/math/private/bigfloat/mpfr.rkt:819:4 --------------------------------------------------------------------- ??? [67] 100.0% [69] 1352(14.6%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [70] 100.0% --------------------------------------------------------------------- ??? [66] 13.9% ??? [69] 86.1% [70] 1570(17.0%) 1292(14.0%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [71] 17.7% --------------------------------------------------------------------- ??? [70] 100.0% [71] 278(3.0%) 278(3.0%) ??? ...llects/racket/contract/combinator.rkt:178:4 ---------------------------------------------------------------------