Profiling results ----------------- Total cpu time observed: 9788ms (out of 10012ms) Number of samples taken: 50 (once every 196ms) ===================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ===================================================================== ??? [7] 100.0% [1] 9608(98.2%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [4] 100.0% --------------------------------------------------------------------- ??? [7] 100.0% [2] 626(6.4%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [5] 73.2% iterate-egraph!5 [8] 26.8% --------------------------------------------------------------------- hash-ref! [58] 100.0% [3] 152(1.6%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:338:33 for-loop [6] 100.0% --------------------------------------------------------------------- profile-thunk14 [1] 100.0% [4] 9608(98.2%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [7] 100.0% --------------------------------------------------------------------- simplify [2] 100.0% [5] 458(4.7%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [8] 100.0% --------------------------------------------------------------------- ??? [3] 100.0% [6] 152(1.6%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:341:46 hash-ref! [58] 100.0% --------------------------------------------------------------------- for-loop [29] 2.1% run [4] 48.0% [7] 9788(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 48.0% loop [9] 29.3% run-improve58 [10] 20.5% simplify [2] 2.1% --------------------------------------------------------------------- simplify [2] 26.8% simplify-expr [5] 73.2% [8] 626(6.4%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [11] 77.0% map-enodes [12] 23.0% --------------------------------------------------------------------- ??? [7] 100.0% [9] 5742(58.7%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [17] 54.2% loop [13] 45.8% --------------------------------------------------------------------- ??? [7] 100.0% [10] 4046(41.3%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [14] 61.8% for-loop [15] 38.2% --------------------------------------------------------------------- iterate-egraph!5 [8] 100.0% [11] 482(4.9%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [16] 100.0% --------------------------------------------------------------------- iterate-egraph!5 [8] 100.0% [12] 144(1.5%) 0(0.0%) map-enodes ...ock/herbie/src/core/egraph.rkt:139:0 loop [27] 100.0% --------------------------------------------------------------------- loop [9] 100.0% [13] 2628(26.8%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [19] 64.5% make-exacts* [17] 35.5% --------------------------------------------------------------------- run-improve58 [10] 100.0% [14] 2502(25.6%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [18] 100.0% --------------------------------------------------------------------- run-improve58 [10] 100.0% [15] 1544(15.8%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [20] 100.0% --------------------------------------------------------------------- for-loop [16] 50.0% one-iter [11] 50.0% [16] 482(4.9%) 314(3.2%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [16] 50.0% match-e [21] 17.4% --------------------------------------------------------------------- loop [13] 23.0% loop [9] 77.0% [17] 4046(41.3%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [22] 58.6% loop [27] 36.3% eval-prog [57] 5.1% --------------------------------------------------------------------- get-final-combination [14] 100.0% [18] 2502(25.6%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [23] 100.0% --------------------------------------------------------------------- loop [13] 100.0% [19] 1696(17.3%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [22] 100.0% --------------------------------------------------------------------- for-loop [15] 100.0% [20] 1544(15.8%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [24] 40.5% finalize-iter! [25] 40.3% gen-series! [26] 19.2% --------------------------------------------------------------------- for-loop [16] 100.0% [21] 168(1.7%) 168(1.7%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 --------------------------------------------------------------------- f37 [68] 3.4% loop [19] 40.3% make-exacts* [17] 56.3% [22] 4210(43.0%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [27] 96.6% f37 [68] 3.4% --------------------------------------------------------------------- split-table [18] 100.0% [23] 2502(25.6%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [28] 100.0% --------------------------------------------------------------------- run-iter! [20] 100.0% [24] 626(6.4%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [29] 100.0% --------------------------------------------------------------------- run-iter! [20] 100.0% [25] 622(6.4%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [30] 100.0% --------------------------------------------------------------------- run-iter! [20] 100.0% [26] 296(3.0%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [31] 100.0% --------------------------------------------------------------------- make-exacts* [17] 0.0% map [22] 0.6% f37 [68] 2.5% map-enodes [12] 2.5% loop [27] 94.4% [27] 5822(59.5%) 214(2.2%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [27] 94.4% for-loop [37] 2.5% simplify [61] 2.5% ??? [56] 0.7% ->flonum [40] 0.0% --------------------------------------------------------------------- infer-splitpoints4 [23] 100.0% [28] 2502(25.6%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [32] 81.7% pick-errors [35] 10.6% err-lsts->split-indices [36] 7.7% --------------------------------------------------------------------- simplify! [24] 100.0% [29] 626(6.4%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [7] 100.0% --------------------------------------------------------------------- finalize-iter! [25] 100.0% [30] 622(6.4%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [33] 100.0% --------------------------------------------------------------------- gen-series! [26] 100.0% [31] 296(3.0%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [34] 100.0% --------------------------------------------------------------------- option-on-expr [28] 100.0% [32] 2044(20.9%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [38] 100.0% --------------------------------------------------------------------- ??? [30] 100.0% [33] 622(6.4%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [39] 100.0% --------------------------------------------------------------------- for-loop [31] 100.0% [34] 296(3.0%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [41] 100.0% --------------------------------------------------------------------- option-on-expr [28] 100.0% [35] 266(2.7%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [42] 100.0% --------------------------------------------------------------------- option-on-expr [28] 100.0% [36] 192(2.0%) 0(0.0%) err-lsts->split-indices .../core/regimes.rkt:224:0 add-splitpoint [43] 100.0% --------------------------------------------------------------------- loop [27] 100.0% [37] 144(1.5%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:161:2 ->flonum [40] 100.0% --------------------------------------------------------------------- sort-context-on-expr [32] 100.0% [38] 2044(20.9%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [44] 81.6% loop [48] 18.4% --------------------------------------------------------------------- for-loop [33] 100.0% [39] 622(6.4%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [45] 100.0% --------------------------------------------------------------------- for-loop [37] 35.0% loop [27] 65.0% [40] 412(4.2%) 268(2.7%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [71] 35.0% --------------------------------------------------------------------- taylor-alt [34] 100.0% [41] 296(3.0%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [46] 100.0% --------------------------------------------------------------------- pick-errors [35] 100.0% [42] 266(2.7%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [57] 100.0% --------------------------------------------------------------------- err-lsts->split-indices [36] 100.0% [43] 192(2.0%) 0(0.0%) add-splitpoint ...erbie/src/core/regimes.rkt:237:2 for-loop [47] 100.0% --------------------------------------------------------------------- copying-mergesort [44] 40.1% sort [38] 59.9% [44] 1668(17.0%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 loop [48] 48.4% copying-mergesort [44] 40.1% jloop [49] 11.4% --------------------------------------------------------------------- atab-add-altn [39] 100.0% [45] 622(6.4%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [50] 100.0% --------------------------------------------------------------------- location-do [46] 41.1% for-loop [41] 58.9% [46] 296(3.0%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [51] 58.9% location-do [46] 41.1% --------------------------------------------------------------------- add-splitpoint [43] 100.0% [47] 192(2.0%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:239:4 for-loop [52] 100.0% --------------------------------------------------------------------- sort [38] 29.3% copying-mergesort [44] 70.7% [48] 1282(13.1%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [53] 100.0% --------------------------------------------------------------------- copying-mergesort [44] 100.0% [49] 762(7.8%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [53] 100.0% --------------------------------------------------------------------- best-and-tied-at-points [45] 100.0% [50] 622(6.4%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [54] 100.0% --------------------------------------------------------------------- location-do [46] 100.0% [51] 296(3.0%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [55] 51.4% f37 [68] 48.6% --------------------------------------------------------------------- for-loop [47] 100.0% [52] 192(2.0%) 192(2.0%) for-loop ...lock/herbie/src/core/regimes.rkt:243:8 --------------------------------------------------------------------- jloop [49] 37.3% loop [48] 62.7% [53] 2044(20.9%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [57] 100.0% --------------------------------------------------------------------- errors [50] 100.0% [54] 622(6.4%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [56] 100.0% --------------------------------------------------------------------- approximate9 [51] 100.0% [55] 152(1.6%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [58] 100.0% --------------------------------------------------------------------- for-loop [54] 11.0% loop [27] 89.0% [56] 5674(58.0%) 280(2.9%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [59] 59.1% real->bigfloat [60] 32.3% ...e/case-arrow.rkt:150:50 [62] 3.6% --------------------------------------------------------------------- make-exacts* [17] 8.3% for-loop [42] 10.6% ??? [53] 81.2% [57] 2518(25.7%) 2332(23.8%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 inductor [63] 7.4% --------------------------------------------------------------------- for-loop [6] 33.3% ??? [64] 33.3% loop [55] 33.3% [58] 152(1.6%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [64] 33.3% ??? [3] 33.3% simplify [61] 33.3% --------------------------------------------------------------------- ??? [56] 100.0% [59] 3356(34.3%) 622(6.4%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [65] 81.5% --------------------------------------------------------------------- ??? [56] 100.0% [60] 1834(18.7%) 1436(14.7%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [66] 21.7% --------------------------------------------------------------------- loop [27] 48.6% hash-ref! [58] 51.4% [61] 296(3.0%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 parse-loop50 [67] 51.4% f37 [68] 48.6% --------------------------------------------------------------------- ??? [56] 100.0% [62] 204(2.1%) 204(2.1%) ...e/case-arrow.rkt:150:50 (unknown source) --------------------------------------------------------------------- inductor [63] 50.0% eval-prog [57] 50.0% [63] 186(1.9%) 186(1.9%) inductor .../ztatlock/herbie/src/programs.rkt:73:2 inductor [63] 50.0% --------------------------------------------------------------------- hash-ref! [58] 100.0% [64] 152(1.6%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [58] 100.0% --------------------------------------------------------------------- ??? [59] 100.0% [65] 2734(27.9%) 1600(16.3%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bflog1p [69] 18.3% bfatan2 [70] 15.7% ??? [71] 7.5% --------------------------------------------------------------------- real->bigfloat [60] 100.0% [66] 398(4.1%) 398(4.1%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 --------------------------------------------------------------------- simplify [61] 100.0% [67] 152(1.6%) 152(1.6%) parse-loop50 ...s/racket/match/compiler.rkt:410:15 --------------------------------------------------------------------- simplify [61] 20.0% approximate9 [51] 20.0% map [22] 60.0% [68] 144(1.5%) 144(1.5%) f37 ...t/collects/racket/match/compiler.rkt:499:40 map [22] 60.0% loop [27] 20.0% --------------------------------------------------------------------- ??? [65] 100.0% [69] 500(5.1%) 500(5.1%) bflog1p ...ib/math/private/bigfloat/mpfr.rkt:616:4 --------------------------------------------------------------------- ??? [65] 100.0% [70] 428(4.4%) 428(4.4%) bfatan2 ...ib/math/private/bigfloat/mpfr.rkt:819:4 --------------------------------------------------------------------- ->flonum [40] 41.1% ??? [65] 58.9% [71] 350(3.6%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [72] 100.0% --------------------------------------------------------------------- ??? [71] 100.0% [72] 350(3.6%) 144(1.5%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [73] 58.9% --------------------------------------------------------------------- ??? [72] 100.0% [73] 206(2.1%) 206(2.1%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ---------------------------------------------------------------------