Profiling results ----------------- Total cpu time observed: 13006ms (out of 13352ms) Number of samples taken: 59 (once every 220ms) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [7] 100.0% [1] 12806(98.5%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [4] 100.0% ---------------------------------------------------------------------- ??? [7] 100.0% [2] 2482(19.1%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [5] 83.8% for-loop [6] 16.2% ---------------------------------------------------------------------- f94 [67] 100.0% [3] 198(1.5%) 0(0.0%) taylor-invert .../herbie/src/core/taylor.rkt:312:0 simplify [63] 100.0% ---------------------------------------------------------------------- profile-thunk14 [1] 100.0% [4] 12806(98.5%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [7] 100.0% ---------------------------------------------------------------------- simplify [2] 100.0% [5] 2080(16.0%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [8] 89.6% loop [9] 10.4% ---------------------------------------------------------------------- simplify [2] 100.0% [6] 402(3.1%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [8] 100.0% ---------------------------------------------------------------------- for-loop [33] 6.4% run [4] 46.1% [7] 13006(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 46.1% loop [10] 29.4% run-improve58 [11] 18.2% simplify [2] 6.4% ---------------------------------------------------------------------- for-loop [6] 17.7% simplify-expr [5] 82.3% [8] 2266(17.4%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [12] 100.0% ---------------------------------------------------------------------- simplify-expr [5] 100.0% [9] 216(1.7%) 0(0.0%) loop ...tatlock/herbie/src/core/simplify.rkt:203:2 pass [13] 100.0% ---------------------------------------------------------------------- ??? [7] 100.0% [10] 7644(58.8%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [15] 47.1% make-exacts* [20] 38.5% loop [22] 14.4% ---------------------------------------------------------------------- ??? [7] 100.0% [11] 5362(41.2%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 for-loop [14] 73.1% get-final-combination [17] 26.9% ---------------------------------------------------------------------- iterate-egraph!5 [8] 100.0% [12] 2266(17.4%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [16] 82.3% loop [19] 8.9% apply-match [24] 8.8% ---------------------------------------------------------------------- loop [9] 100.0% [13] 216(1.7%) 0(0.0%) pass ...tatlock/herbie/src/core/simplify.rkt:193:2 for-loop [18] 100.0% ---------------------------------------------------------------------- run-improve58 [11] 100.0% [14] 3922(30.2%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [21] 100.0% ---------------------------------------------------------------------- loop [10] 100.0% [15] 3602(27.7%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 make-exacts* [20] 58.4% loop [22] 41.6% ---------------------------------------------------------------------- for-loop [16] 50.0% one-iter [12] 50.0% [16] 1864(14.3%) 422(3.2%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [16] 50.0% match-e [27] 38.7% ---------------------------------------------------------------------- run-improve58 [11] 100.0% [17] 1440(11.1%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [23] 100.0% ---------------------------------------------------------------------- pass [13] 100.0% [18] 216(1.7%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:196:29 loop [25] 100.0% ---------------------------------------------------------------------- one-iter [12] 100.0% [19] 202(1.6%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [24] 100.0% ---------------------------------------------------------------------- loop [15] 41.7% loop [10] 58.3% [20] 5046(38.8%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [69] 54.2% loop [70] 42.7% eval-prog [61] 3.1% ---------------------------------------------------------------------- for-loop [14] 100.0% [21] 3922(30.2%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [26] 63.3% finalize-iter! [29] 20.9% gen-series! [30] 15.9% ---------------------------------------------------------------------- loop [10] 42.3% loop [15] 57.7% [22] 2598(20.0%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [69] 100.0% ---------------------------------------------------------------------- get-final-combination [17] 100.0% [23] 1440(11.1%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [28] 100.0% ---------------------------------------------------------------------- one-iter [12] 49.8% loop [19] 50.2% [24] 402(3.1%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 merge-egraph-nodes! [32] 50.2% match-e [27] 49.8% ---------------------------------------------------------------------- for-loop [18] 100.0% [25] 216(1.7%) 0(0.0%) loop ...hare/racket/collects/racket/list.rkt:729:4 expression-cost [31] 100.0% ---------------------------------------------------------------------- run-iter! [21] 100.0% [26] 2482(19.1%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [33] 100.0% ---------------------------------------------------------------------- apply-match [24] 6.1% for-loop [45] 12.2% for-loop [16] 81.7% [27] 1642(12.6%) 804(6.2%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [36] 32.9% constant? [40] 12.2% list-cartesian-product [41] 12.1% for-loop [45] 6.2% ---------------------------------------------------------------------- split-table [23] 100.0% [28] 1440(11.1%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [34] 100.0% ---------------------------------------------------------------------- run-iter! [21] 100.0% [29] 818(6.3%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [35] 100.0% ---------------------------------------------------------------------- run-iter! [21] 100.0% [30] 622(4.8%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [37] 100.0% ---------------------------------------------------------------------- loop [25] 100.0% [31] 216(1.7%) 0(0.0%) expression-cost ...k/herbie/src/programs.rkt:212:0 compile [38] 100.0% ---------------------------------------------------------------------- apply-match [24] 100.0% [32] 202(1.6%) 0(0.0%) merge-egraph-nodes! ...e/src/core/egraph.rkt:152:0 update-leader! [39] 100.0% ---------------------------------------------------------------------- simplify! [26] 100.0% [33] 2482(19.1%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [7] 100.0% ---------------------------------------------------------------------- infer-splitpoints4 [28] 100.0% [34] 1440(11.1%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [42] 100.0% ---------------------------------------------------------------------- finalize-iter! [29] 100.0% [35] 818(6.3%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [44] 75.6% atab-add-altns [46] 24.4% ---------------------------------------------------------------------- match-e [27] 100.0% [36] 640(4.9%) 440(3.4%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 for-loop [45] 31.2% ---------------------------------------------------------------------- gen-series! [30] 100.0% [37] 622(4.8%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [43] 100.0% ---------------------------------------------------------------------- expression-cost [31] 100.0% [38] 216(1.7%) 0(0.0%) compile .../ztatlock/herbie/src/programs.rkt:189:0 hash-ref! [62] 100.0% ---------------------------------------------------------------------- merge-egraph-nodes! [32] 100.0% [39] 202(1.6%) 202(1.6%) update-leader! ...herbie/src/core/egraph.rkt:217:0 ---------------------------------------------------------------------- match-e [27] 100.0% [40] 200(1.5%) 200(1.5%) constant? ...ck/herbie/src/syntax/syntax.rkt:221:0 ---------------------------------------------------------------------- list-cartesian-product [41] 50.0% match-e [27] 50.0% [41] 198(1.5%) 198(1.5%) list-cartesian-product ...src/core/ematch.rkt:20:0 list-cartesian-product [41] 50.0% ---------------------------------------------------------------------- option-on-expr [34] 100.0% [42] 1440(11.1%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [47] 100.0% ---------------------------------------------------------------------- for-loop [37] 100.0% [43] 622(4.8%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [49] 100.0% ---------------------------------------------------------------------- ??? [35] 100.0% [44] 618(4.8%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [48] 100.0% ---------------------------------------------------------------------- for-loop [36] 49.8% match-e [27] 50.2% [45] 402(3.1%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [27] 100.0% ---------------------------------------------------------------------- ??? [35] 100.0% [46] 200(1.5%) 0(0.0%) atab-add-altns ...rbie/src/core/alt-table.rkt:50:0 atab-add-altn [48] 100.0% ---------------------------------------------------------------------- sort-context-on-expr [42] 100.0% [47] 1440(11.1%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [50] 71.0% loop [53] 29.0% ---------------------------------------------------------------------- atab-add-altns [46] 24.4% for-loop [44] 75.6% [48] 818(6.3%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [51] 100.0% ---------------------------------------------------------------------- taylor-alt [43] 100.0% [49] 622(4.8%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [52] 100.0% ---------------------------------------------------------------------- copying-mergesort [50] 45.5% sort [47] 54.5% [50] 1022(7.9%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [50] 45.5% loop [53] 39.3% jloop [55] 15.2% ---------------------------------------------------------------------- atab-add-altn [48] 100.0% [51] 818(6.3%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [56] 75.6% for-loop [57] 24.4% ---------------------------------------------------------------------- for-loop [49] 100.0% [52] 622(4.8%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [54] 100.0% ---------------------------------------------------------------------- copying-mergesort [50] 49.0% sort [47] 51.0% [53] 820(6.3%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [58] 100.0% ---------------------------------------------------------------------- location-do [52] 100.0% [54] 622(4.8%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 f94 [67] 64.6% loop [60] 35.4% ---------------------------------------------------------------------- copying-mergesort [50] 100.0% [55] 620(4.8%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [58] 100.0% ---------------------------------------------------------------------- best-and-tied-at-points [51] 100.0% [56] 618(4.8%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [59] 100.0% ---------------------------------------------------------------------- best-and-tied-at-points [51] 100.0% [57] 200(1.5%) 200(1.5%) for-loop ...k/herbie/src/core/alt-table.rkt:124:16 ---------------------------------------------------------------------- jloop [55] 43.1% loop [53] 56.9% [58] 1440(11.1%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [61] 100.0% ---------------------------------------------------------------------- errors [56] 100.0% [59] 618(4.8%) 398(3.1%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [73] 35.6% ---------------------------------------------------------------------- approximate9 [54] 100.0% [60] 220(1.7%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [62] 100.0% ---------------------------------------------------------------------- make-exacts* [20] 9.9% ??? [58] 90.1% [61] 1598(12.3%) 1440(11.1%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 inductor [66] 9.9% ---------------------------------------------------------------------- compile [38] 16.5% ??? [64] 25.2% loop [60] 25.2% ??? [65] 33.0% [62] 436(3.4%) 216(1.7%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [65] 33.0% ??? [64] 25.2% simplify [63] 25.2% ---------------------------------------------------------------------- taylor-invert [3] 47.4% hash-ref! [62] 52.6% [63] 418(3.2%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 f94 [67] 52.6% parse-loop50 [71] 47.4% ---------------------------------------------------------------------- hash-ref! [62] 100.0% [64] 220(1.7%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [62] 100.0% ---------------------------------------------------------------------- hash-ref! [62] 100.0% [65] 216(1.7%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 hash-ref! [62] 100.0% ---------------------------------------------------------------------- inductor [66] 50.0% eval-prog [61] 50.0% [66] 158(1.2%) 0(0.0%) inductor .../ztatlock/herbie/src/programs.rkt:73:2 inductor [66] 50.0% integer->bigfloat [68] 50.0% ---------------------------------------------------------------------- f94 [67] 10.6% simplify [63] 17.7% map [69] 28.3% approximate9 [54] 43.4% [67] 622(4.8%) 0(0.0%) f94 ...t/collects/racket/match/compiler.rkt:499:40 map [69] 78.8% f94 [67] 10.6% taylor-invert [3] 10.6% ---------------------------------------------------------------------- inductor [66] 100.0% [68] 158(1.2%) 158(1.2%) integer->bigfloat ...ivate/bigfloat/mpfr.rkt:399:0 ---------------------------------------------------------------------- f94 [67] 10.4% loop [22] 43.6% make-exacts* [20] 45.9% [69] 5954(45.8%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [70] 89.6% f94 [67] 5.2% ??? [72] 3.4% parse-loop50 [71] 1.8% ---------------------------------------------------------------------- make-exacts* [20] 1.3% map [69] 7.3% loop [70] 91.4% [70] 7486(57.6%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [70] 91.4% ??? [73] 8.6% ->flonum [75] 0.0% ---------------------------------------------------------------------- parse-loop50 [71] 26.3% map [69] 26.3% simplify [63] 47.4% [71] 418(3.2%) 418(3.2%) parse-loop50 ...s/racket/match/compiler.rkt:410:15 parse-loop50 [71] 26.3% ---------------------------------------------------------------------- map [69] 100.0% [72] 204(1.6%) 0(0.0%) ??? ...ket/collects/racket/private/list.rkt:323:18 taylor-sqrt [74] 100.0% ---------------------------------------------------------------------- for-loop [59] 2.9% loop [70] 97.1% [73] 7530(57.9%) 188(1.4%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [76] 83.0% real->bigfloat [77] 10.8% ??? [85] 3.7% ---------------------------------------------------------------------- ??? [72] 100.0% [74] 204(1.6%) 204(1.6%) taylor-sqrt ...ck/herbie/src/core/taylor.rkt:346:0 ---------------------------------------------------------------------- loop [70] 100.0% [75] 176(1.4%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [86] 100.0% ---------------------------------------------------------------------- ??? [73] 100.0% [76] 6252(48.1%) 384(3.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [78] 86.2% ...higher-order.rkt:373:33 [79] 4.2% ??? [80] 3.5% ---------------------------------------------------------------------- ??? [73] 100.0% [77] 814(6.3%) 412(3.2%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [84] 49.4% ---------------------------------------------------------------------- ??? [76] 100.0% [78] 5388(41.4%) 532(4.1%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfdiv [81] 56.0% bfsqrt [82] 17.6% ??? [86] 16.6% ---------------------------------------------------------------------- ??? [76] 100.0% [79] 260(2.0%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [83] 100.0% ---------------------------------------------------------------------- ??? [76] 100.0% [80] 220(1.7%) 220(1.7%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ---------------------------------------------------------------------- ??? [78] 100.0% [81] 3016(23.2%) 2134(16.4%) bfdiv ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [84] 29.2% ---------------------------------------------------------------------- ??? [78] 100.0% [82] 946(7.3%) 766(5.9%) bfsqrt ...lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [84] 19.0% ---------------------------------------------------------------------- ...higher-order.rkt:373:33 [79]100.0% [83] 260(2.0%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [85] 100.0% ---------------------------------------------------------------------- bfsqrt [82] 12.3% real->bigfloat [77] 27.5% bfdiv [81] 60.2% [84] 1464(11.3%) 1464(11.3%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- ??? [83] 48.5% ??? [73] 51.5% [85] 536(4.1%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [86] 100.0% ---------------------------------------------------------------------- ->flonum [75] 11.0% ??? [85] 33.4% ??? [78] 55.7% [86] 1606(12.3%) 982(7.6%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [87] 27.1% ??? [88] 11.7% ---------------------------------------------------------------------- ??? [86] 100.0% [87] 436(3.4%) 0(0.0%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [89] 100.0% ---------------------------------------------------------------------- ??? [86] 100.0% [88] 188(1.4%) 0(0.0%) ??? ...ects/racket/contract/private/prop.rkt:489:4 ??? [90] 100.0% ---------------------------------------------------------------------- ??? [87] 100.0% [89] 436(3.4%) 436(3.4%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ---------------------------------------------------------------------- ??? [88] 100.0% [90] 188(1.4%) 188(1.4%) ??? ...lects/racket/contract/private/orc.rkt:73:14 ----------------------------------------------------------------------