Profiling results ----------------- Total cpu time observed: 12040ms (out of 12320ms) Number of samples taken: 41 (once every 294ms) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [12] 100.0% [1] 11560(96.0%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [7] 100.0% ---------------------------------------------------------------------- loop [74] 18.7% ??? [12] 81.3% [2] 1176(9.8%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [8] 79.6% iterate-egraph!5 [13] 20.4% ---------------------------------------------------------------------- post-process [29] 26.0% loop [74] 74.0% [3] 916(7.6%) 0(0.0%) completely-simplify-alt ...erbie/src/glue.rkt:87:0 simplify-expr [8] 100.0% ---------------------------------------------------------------------- hash-ref! [67] 100.0% [4] 458(3.8%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:338:33 for-loop [9] 100.0% ---------------------------------------------------------------------- hash-ref! [67] 100.0% [5] 240(2.0%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:322:33 for-loop [10] 100.0% ---------------------------------------------------------------------- hash-ref! [67] 100.0% [6] 240(2.0%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:295:23 for-loop [11] 100.0% ---------------------------------------------------------------------- profile-thunk14 [1] 100.0% [7] 11560(96.0%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [12] 100.0% ---------------------------------------------------------------------- completely-simplify-alt [3] 49.5% simplify [2] 50.5% [8] 1852(15.4%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [13] 87.0% loop [14] 13.0% ---------------------------------------------------------------------- ??? [4] 100.0% [9] 458(3.8%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:341:46 hash-ref! [67] 52.4% simplify [66] 47.6% ---------------------------------------------------------------------- ??? [5] 100.0% [10] 240(2.0%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:324:46 hash-ref! [67] 50.0% simplify [66] 50.0% ---------------------------------------------------------------------- ??? [6] 100.0% [11] 240(2.0%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:298:27 hash-ref! [67] 100.0% ---------------------------------------------------------------------- for-loop [41] 3.0% run [7] 47.0% [12] 12040(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 47.0% run-improve58 [15] 27.6% loop [16] 22.5% simplify [2] 3.0% ---------------------------------------------------------------------- simplify [2] 13.0% simplify-expr [8] 87.0% [13] 1852(15.4%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [17] 100.0% ---------------------------------------------------------------------- simplify-expr [8] 100.0% [14] 240(2.0%) 0(0.0%) loop ...tatlock/herbie/src/core/simplify.rkt:203:2 pass [18] 100.0% ---------------------------------------------------------------------- ??? [12] 100.0% [15] 6634(55.1%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [19] 54.4% finalize-table! [22] 24.0% for-loop [23] 21.6% ---------------------------------------------------------------------- ??? [12] 100.0% [16] 5406(44.9%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [20] 43.3% make-exacts* [27] 32.0% loop [28] 24.7% ---------------------------------------------------------------------- iterate-egraph!5 [13] 100.0% [17] 1852(15.4%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [21] 87.0% apply-match [25] 13.0% ---------------------------------------------------------------------- loop [14] 100.0% [18] 240(2.0%) 0(0.0%) pass ...tatlock/herbie/src/core/simplify.rkt:193:2 for-loop [24] 100.0% ---------------------------------------------------------------------- run-improve58 [15] 100.0% [19] 3608(30.0%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [26] 93.9% extract-alt [33] 6.1% ---------------------------------------------------------------------- loop [16] 100.0% [20] 2342(19.5%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [28] 56.7% make-exacts* [27] 43.3% ---------------------------------------------------------------------- for-loop [21] 50.0% one-iter [17] 50.0% [21] 1612(13.4%) 240(2.0%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [21] 50.0% match-e [31] 42.6% ---------------------------------------------------------------------- run-improve58 [15] 100.0% [22] 1594(13.2%) 0(0.0%) finalize-table! ...k/herbie/src/mainloop.rkt:264:0 post-process [29] 100.0% ---------------------------------------------------------------------- run-improve58 [15] 100.0% [23] 1432(11.9%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [30] 100.0% ---------------------------------------------------------------------- pass [18] 100.0% [24] 240(2.0%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:196:29 for-loop [32] 100.0% ---------------------------------------------------------------------- one-iter [17] 100.0% [25] 240(2.0%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 loop! [80] 100.0% ---------------------------------------------------------------------- get-final-combination [19] 100.0% [26] 3388(28.1%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [34] 100.0% ---------------------------------------------------------------------- loop [20] 37.0% loop [16] 63.0% [27] 2744(22.8%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 loop [74] 71.1% map [72] 28.9% ---------------------------------------------------------------------- loop [20] 49.9% loop [16] 50.1% [28] 2662(22.1%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [72] 100.0% ---------------------------------------------------------------------- finalize-table! [22] 100.0% [29] 1594(13.2%) 0(0.0%) post-process .../ztatlock/herbie/src/glue.rkt:95:0 loop [74] 42.5% for-loop [36] 42.5% completely-simplify-alt [3] 14.9% ---------------------------------------------------------------------- for-loop [23] 100.0% [30] 1432(11.9%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [35] 66.8% finalize-iter! [37] 16.6% gen-series! [38] 16.6% ---------------------------------------------------------------------- for-loop [21] 100.0% [31] 1372(11.4%) 934(7.8%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 list-cartesian-product [39] 16.0% constant? [79] 15.9% ---------------------------------------------------------------------- for-loop [24] 100.0% [32] 240(2.0%) 240(2.0%) for-loop ...ck/herbie/src/core/simplify.rkt:183:13 ---------------------------------------------------------------------- get-final-combination [19] 100.0% [33] 220(1.8%) 0(0.0%) extract-alt ...e/ztatlock/herbie/src/glue.rkt:57:0 loop [74] 100.0% ---------------------------------------------------------------------- split-table [26] 100.0% [34] 3388(28.1%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [40] 100.0% ---------------------------------------------------------------------- run-iter! [30] 100.0% [35] 956(7.9%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [41] 100.0% ---------------------------------------------------------------------- post-process [29] 100.0% [36] 678(5.6%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:119:17 append-map [42] 100.0% ---------------------------------------------------------------------- run-iter! [30] 100.0% [37] 238(2.0%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [43] 100.0% ---------------------------------------------------------------------- run-iter! [30] 100.0% [38] 238(2.0%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [44] 100.0% ---------------------------------------------------------------------- list-cartesian-product [39] 50.0% match-e [31] 50.0% [39] 220(1.8%) 220(1.8%) list-cartesian-product ...src/core/ematch.rkt:20:0 list-cartesian-product [39] 50.0% ---------------------------------------------------------------------- infer-splitpoints4 [34] 100.0% [40] 3388(28.1%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [45] 93.6% err-lsts->split-indices [48] 6.4% ---------------------------------------------------------------------- simplify! [35] 100.0% [41] 956(7.9%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [12] 100.0% ---------------------------------------------------------------------- for-loop [36] 100.0% [42] 678(5.6%) 0(0.0%) append-map ...acket/collects/racket/list.rkt:565:2 taylor-alt [46] 100.0% ---------------------------------------------------------------------- finalize-iter! [37] 100.0% [43] 238(2.0%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [47] 100.0% ---------------------------------------------------------------------- gen-series! [38] 100.0% [44] 238(2.0%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [46] 100.0% ---------------------------------------------------------------------- option-on-expr [40] 100.0% [45] 3170(26.3%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [49] 100.0% ---------------------------------------------------------------------- for-loop [44] 26.0% append-map [42] 74.0% [46] 916(7.6%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [50] 100.0% ---------------------------------------------------------------------- ??? [43] 100.0% [47] 238(2.0%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [51] 100.0% ---------------------------------------------------------------------- option-on-expr [40] 100.0% [48] 218(1.8%) 0(0.0%) err-lsts->split-indices .../core/regimes.rkt:224:0 add-splitpoint [52] 100.0% ---------------------------------------------------------------------- sort-context-on-expr [45] 100.0% [49] 3170(26.3%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [53] 57.5% loop [54] 42.5% ---------------------------------------------------------------------- taylor-alt [46] 100.0% [50] 916(7.6%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [55] 100.0% ---------------------------------------------------------------------- for-loop [47] 100.0% [51] 238(2.0%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [56] 100.0% ---------------------------------------------------------------------- err-lsts->split-indices [48] 100.0% [52] 218(1.8%) 0(0.0%) add-splitpoint ...erbie/src/core/regimes.rkt:237:2 for-loop [57] 100.0% ---------------------------------------------------------------------- sort [49] 25.0% copying-mergesort [53] 75.0% [53] 1824(15.1%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [53] 75.0% jloop [58] 25.0% ---------------------------------------------------------------------- sort [49] 100.0% [54] 1346(11.2%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [62] 100.0% ---------------------------------------------------------------------- location-do [55] 28.9% for-loop [50] 71.1% [55] 916(7.6%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [59] 71.1% location-do [55] 28.9% ---------------------------------------------------------------------- atab-add-altn [51] 100.0% [56] 238(2.0%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [60] 100.0% ---------------------------------------------------------------------- add-splitpoint [52] 100.0% [57] 218(1.8%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:239:4 for-loop [61] 100.0% ---------------------------------------------------------------------- copying-mergesort [53] 100.0% [58] 1824(15.1%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [62] 100.0% ---------------------------------------------------------------------- location-do [55] 100.0% [59] 916(7.6%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [63] 74.0% taylor-quotient [64] 26.0% ---------------------------------------------------------------------- best-and-tied-at-points [56] 100.0% [60] 238(2.0%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 eval-prog [65] 100.0% ---------------------------------------------------------------------- for-loop [57] 100.0% [61] 218(1.8%) 218(1.8%) for-loop ...lock/herbie/src/core/regimes.rkt:243:8 ---------------------------------------------------------------------- loop [54] 42.5% jloop [58] 57.5% [62] 3170(26.3%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [65] 100.0% ---------------------------------------------------------------------- approximate9 [59] 100.0% [63] 678(5.6%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [67] 100.0% ---------------------------------------------------------------------- approximate9 [59] 100.0% [64] 238(2.0%) 0(0.0%) taylor-quotient ...erbie/src/core/taylor.rkt:328:0 simplify [66] 100.0% ---------------------------------------------------------------------- errors [60] 7.0% ??? [62] 93.0% [65] 3408(28.3%) 3180(26.4%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 ??? [71] 6.7% ---------------------------------------------------------------------- for-loop [9] 23.8% hash-ref! [67] 24.0% taylor-quotient [64] 26.0% for-loop [10] 26.2% [66] 916(7.6%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 f16 [68] 100.0% ---------------------------------------------------------------------- for-loop [9] 5.9% ??? [70] 5.9% for-loop [11] 5.9% for-loop [10] 5.9% ??? [69] 38.2% loop [63] 38.2% [67] 678(5.6%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [69] 38.2% ??? [4] 22.0% simplify [66] 16.2% ??? [5] 11.8% ??? [6] 5.9% ??? [70] 5.9% ---------------------------------------------------------------------- map [72] 31.9% simplify [66] 68.1% [68] 916(7.6%) 240(2.0%) f16 ...t/collects/racket/match/compiler.rkt:499:40 map [72] 65.8% combine-mterms [73] 8.0% ---------------------------------------------------------------------- hash-ref! [67] 100.0% [69] 678(5.6%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [67] 100.0% ---------------------------------------------------------------------- hash-ref! [67] 100.0% [70] 240(2.0%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:357:30 hash-ref! [67] 100.0% ---------------------------------------------------------------------- eval-prog [65] 100.0% [71] 228(1.9%) 228(1.9%) ??? ...collects/racket/private/qq-and-or.rkt:155:9 ---------------------------------------------------------------------- f16 [68] 16.4% make-exacts* [27] 19.2% loop [28] 64.5% [72] 4130(34.3%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [74] 76.7% f16 [68] 8.8% ??? [77] 7.0% ??? [75] 5.8% simplify* [76] 1.8% ---------------------------------------------------------------------- f16 [68] 100.0% [73] 220(1.8%) 220(1.8%) combine-mterms ...herbie/src/core/reduce.rkt:182:0 ---------------------------------------------------------------------- map [72] 0.5% make-exacts* [27] 0.6% post-process [29] 0.8% extract-alt [33] 1.8% loop! [80] 1.9% loop [74] 94.4% [74] 6256(52.0%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [74] 94.4% loop! [80] 1.9% simplify [2] 1.8% ??? [77] 1.1% completely-simplify-alt [3] 0.8% ->flonum [78] 0.1% ---------------------------------------------------------------------- map [72] 100.0% [75] 238(2.0%) 238(2.0%) ??? /home/ztatlock/herbie/src/core/reduce.rkt:52:5 ---------------------------------------------------------------------- map [72] 100.0% [76] 218(1.8%) 0(0.0%) simplify* ...tlock/herbie/src/core/reduce.rkt:23:0 constant? [79] 100.0% ---------------------------------------------------------------------- map [72] 6.0% loop [74] 94.0% [77] 4824(40.1%) 222(1.8%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [81] 53.9% ??? [88] 30.6% real->bigfloat [82] 10.9% ---------------------------------------------------------------------- loop [74] 100.0% [78] 582(4.8%) 288(2.4%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [90] 50.5% ---------------------------------------------------------------------- simplify* [76] 50.0% match-e [31] 50.0% [79] 436(3.6%) 436(3.6%) constant? ...ck/herbie/src/syntax/syntax.rkt:221:0 ---------------------------------------------------------------------- loop [74] 50.0% apply-match [25] 50.0% [80] 240(2.0%) 240(2.0%) loop! .../ztatlock/herbie/src/core/enode.rkt:163:2 loop [74] 50.0% ---------------------------------------------------------------------- ??? [77] 100.0% [81] 2602(21.6%) 0(0.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [83] 89.2% ...higher-order.rkt:373:33 [84] 10.8% ---------------------------------------------------------------------- ??? [77] 100.0% [82] 526(4.4%) 526(4.4%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ---------------------------------------------------------------------- ??? [81] 100.0% [83] 2322(19.3%) 1034(8.6%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfacos [85] 22.0% ??? [90] 21.3% bfdiv [86] 12.1% ---------------------------------------------------------------------- ??? [81] 100.0% [84] 280(2.3%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [87] 100.0% ---------------------------------------------------------------------- ??? [83] 100.0% [85] 512(4.3%) 288(2.4%) bfacos ...lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [89] 43.8% ---------------------------------------------------------------------- ??? [83] 100.0% [86] 282(2.3%) 282(2.3%) bfdiv ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ---------------------------------------------------------------------- ...higher-order.rkt:373:33 [84]100.0% [87] 280(2.3%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [88] 100.0% ---------------------------------------------------------------------- ??? [87] 16.0% ??? [77] 84.0% [88] 1754(14.6%) 636(5.3%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [90] 63.7% ---------------------------------------------------------------------- bfacos [85] 100.0% [89] 224(1.9%) 224(1.9%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- ->flonum [78] 15.4% ??? [83] 25.9% ??? [88] 58.7% [90] 1906(15.8%) 814(6.8%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [91] 57.3% ---------------------------------------------------------------------- ??? [90] 100.0% [91] 1092(9.1%) 532(4.4%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [92] 51.3% ---------------------------------------------------------------------- ??? [91] 100.0% [92] 560(4.7%) 560(4.7%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ----------------------------------------------------------------------