Profiling results ----------------- Total cpu time observed: 8286ms (out of 8556ms) Number of samples taken: 27 (once every 307ms) ============================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ============================================================================== ??? [29] 100.0% [1] 8286(100.0%) 0(0.0%) profile-thunk16 ...e/pkgs/profile-lib/main.rkt:9:0 run [4] 100.0% ------------------------------------------------------------------------------ ??? [29] 100.0% [2] 3366(40.6%) 0(0.0%) run-improve47 ...bie/master/src/mainloop.rkt:345:0 for-loop [5] 100.0% ------------------------------------------------------------------------------ ??? [57] 100.0% [3] 196(2.4%) 0(0.0%) approximate9 ...ie/master/src/core/taylor.rkt:12:0 loop [6] 100.0% ------------------------------------------------------------------------------ profile-thunk16 [1] 100.0% [4] 8286(100.0%) 0(0.0%) run ...et-7.2/share/pkgs/profile-lib/main.rkt:39:2 ??? [29] 100.0% ------------------------------------------------------------------------------ run-improve47 [2] 100.0% [5] 3366(40.6%) 0(0.0%) for-loop ...s/herbie/master/src/mainloop.rkt:364:4 run-iter! [7] 100.0% ------------------------------------------------------------------------------ approximate9 [3] 100.0% [6] 196(2.4%) 0(0.0%) loop ...ies/herbie/master/src/core/taylor.rkt:87:4 ??? [57] 100.0% ------------------------------------------------------------------------------ for-loop [5] 100.0% [7] 3366(40.6%) 0(0.0%) run-iter! .../herbie/master/src/mainloop.rkt:326:0 simplify! [8] 78.7% finalize-iter! [9] 15.5% gen-series! [10] 5.8% ------------------------------------------------------------------------------ run-iter! [7] 100.0% [8] 2648(32.0%) 0(0.0%) simplify! .../herbie/master/src/mainloop.rkt:223:0 ??? [11] 100.0% ------------------------------------------------------------------------------ run-iter! [7] 100.0% [9] 522(6.3%) 0(0.0%) finalize-iter! ...ie/master/src/mainloop.rkt:277:0 ??? [12] 100.0% ------------------------------------------------------------------------------ run-iter! [7] 100.0% [10] 196(2.4%) 0(0.0%) gen-series! ...erbie/master/src/mainloop.rkt:159:0 for-loop [13] 100.0% ------------------------------------------------------------------------------ simplify! [8] 100.0% [11] 2648(32.0%) 0(0.0%) ??? ...es/herbie/master/src/core/simplify.rkt:26:0 for-loop [14] 83.3% loop [17] 9.2% one-iter [19] 7.5% ------------------------------------------------------------------------------ finalize-iter! [9] 100.0% [12] 522(6.3%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:390:18 for-loop [15] 50.2% atab-add-altns [16] 49.8% ------------------------------------------------------------------------------ gen-series! [10] 100.0% [13] 196(2.4%) 0(0.0%) for-loop ...s/herbie/master/src/mainloop.rkt:166:7 taylor-alt [18] 100.0% ------------------------------------------------------------------------------ ??? [11] 100.0% [14] 2206(26.6%) 0(0.0%) for-loop ...rbie/master/src/core/simplify.rkt:35:2 one-iter [19] 100.0% ------------------------------------------------------------------------------ ??? [12] 100.0% [15] 262(3.2%) 0(0.0%) for-loop ...bie/master/src/core/alt-table.rkt:55:2 atab-add-altn [20] 100.0% ------------------------------------------------------------------------------ ??? [12] 100.0% [16] 260(3.1%) 0(0.0%) atab-add-altns ...ster/src/core/alt-table.rkt:49:0 atab-add-altn [20] 100.0% ------------------------------------------------------------------------------ ??? [11] 100.0% [17] 244(2.9%) 0(0.0%) loop ...herbie/master/src/core/extraction.rkt:25:2 for-loop [21] 100.0% ------------------------------------------------------------------------------ for-loop [13] 100.0% [18] 196(2.4%) 0(0.0%) taylor-alt ...herbie/master/src/mainloop.rkt:145:0 for-loop [22] 100.0% ------------------------------------------------------------------------------ ??? [11] 8.2% for-loop [14] 91.8% [19] 2404(29.0%) 0(0.0%) one-iter ...rbie/master/src/core/simplify.rkt:72:0 find-matches [23] 55.7% for-loop [24] 44.3% ------------------------------------------------------------------------------ atab-add-altns [16] 49.8% for-loop [15] 50.2% [20] 522(6.3%) 0(0.0%) atab-add-altn ...ster/src/core/alt-table.rkt:203:0 errors [25] 100.0% ------------------------------------------------------------------------------ loop [17] 100.0% [21] 244(2.9%) 244(2.9%) for-loop ...ie/master/src/core/extraction.rkt:29:4 ------------------------------------------------------------------------------ taylor-alt [18] 100.0% [22] 196(2.4%) 0(0.0%) for-loop ...s/herbie/master/src/mainloop.rkt:151:6 ??? [57] 100.0% ------------------------------------------------------------------------------ one-iter [19] 100.0% [23] 1338(16.1%) 0(0.0%) find-matches .../master/src/core/simplify.rkt:62:0 for-loop [26] 100.0% ------------------------------------------------------------------------------ one-iter [19] 100.0% [24] 1066(12.9%) 0(0.0%) for-loop ...rbie/master/src/core/simplify.rkt:74:2 for-loop [27] 100.0% ------------------------------------------------------------------------------ atab-add-altn [20] 100.0% [25] 522(6.3%) 0(0.0%) errors ...tlies/herbie/master/src/points.rkt:205:0 for-loop [28] 100.0% ------------------------------------------------------------------------------ for-loop [26] 50.0% find-matches [23] 50.0% [26] 1338(16.1%) 0(0.0%) for-loop ...rbie/master/src/core/simplify.rkt:64:8 for-loop [26] 50.0% match-e [30] 50.0% ------------------------------------------------------------------------------ for-loop [24] 100.0% [27] 1066(12.9%) 260(3.1%) for-loop ...rbie/master/src/core/simplify.rkt:77:4 merge-egraph-nodes! [31] 50.1% dedup-children! [32] 25.5% ------------------------------------------------------------------------------ errors [25] 100.0% [28] 522(6.3%) 0(0.0%) for-loop ...ies/herbie/master/src/points.rkt:207:2 ??? [29] 100.0% ------------------------------------------------------------------------------ for-loop [28] 2.1% run [4] 49.0% [29] 8286(100.0%) 224(2.7%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [1] 49.0% prepare-points-intervals [33] 28.3% run-improve47 [2] 19.3% ??? [50] 2.1% ------------------------------------------------------------------------------ for-loop [44] 9.0% for-loop [26] 91.0% [30] 1338(16.1%) 200(2.4%) match-e .../herbie/master/src/core/ematch.rkt:39:0 for-loop [34] 85.1% ------------------------------------------------------------------------------ for-loop [27] 100.0% [31] 534(6.4%) 0(0.0%) merge-egraph-nodes! ...r/src/core/egraph.rkt:143:0 update-leader! [36] 50.2% loop! [37] 49.8% ------------------------------------------------------------------------------ for-loop [27] 100.0% [32] 272(3.3%) 0(0.0%) dedup-children! ...master/src/core/enode.rkt:202:0 loop [35] 100.0% ------------------------------------------------------------------------------ ??? [29] 100.0% [33] 4696(56.7%) 0(0.0%) prepare-points-intervals ...r/src/points.rkt:110:0 loop [38] 100.0% ------------------------------------------------------------------------------ match-e [30] 100.0% [34] 1138(13.7%) 438(5.3%) for-loop ...erbie/master/src/core/ematch.rkt:52:11 loop [42] 21.3% foldr [43] 21.3% procedure-reduce-keyword-arity-mask [45] 19.0% for-loop [44] 10.5% ------------------------------------------------------------------------------ dedup-children! [32] 11.1% loop [35] 88.9% [35] 272(3.3%) 0(0.0%) loop ...racket-7.2/collects/racket/list.rkt:417:34 loop [35] 88.9% loop [39] 11.1% ------------------------------------------------------------------------------ merge-egraph-nodes! [31] 100.0% [36] 268(3.2%) 0(0.0%) update-leader! ...master/src/core/egraph.rkt:211:0 for-loop [40] 100.0% ------------------------------------------------------------------------------ merge-egraph-nodes! [31] 100.0% [37] 266(3.2%) 0(0.0%) loop! ...es/herbie/master/src/core/enode.rkt:194:2 custom-set-union [41] 100.0% ------------------------------------------------------------------------------ prepare-points-intervals [33] 100.0% [38] 4696(56.7%) 0(0.0%) loop ...ghtlies/herbie/master/src/points.rkt:123:4 loop [46] 50.4% ??? [47] 49.6% ------------------------------------------------------------------------------ loop [35] 100.0% [39] 272(3.3%) 272(3.3%) loop (unknown source) ------------------------------------------------------------------------------ update-leader! [36] 100.0% [40] 268(3.2%) 0(0.0%) for-loop ...erbie/master/src/core/egraph.rkt:216:6 for-loop [48] 100.0% ------------------------------------------------------------------------------ loop! [37] 100.0% [41] 266(3.2%) 266(3.2%) custom-set-union ...et/private/set-types.rkt:168:0 ------------------------------------------------------------------------------ for-loop [34] 14.3% loop [42] 85.7% [42] 242(2.9%) 242(2.9%) loop ...-7.2/collects/racket/private/map.rkt:40:19 loop [42] 85.7% ------------------------------------------------------------------------------ for-loop [34] 100.0% [43] 242(2.9%) 0(0.0%) foldr ....2/collects/racket/private/list.rkt:242:4 cp-2 [49] 100.0% ------------------------------------------------------------------------------ for-loop [34] 100.0% [44] 240(2.9%) 0(0.0%) for-loop ...erbie/master/src/core/ematch.rkt:58:37 match-e [30] 100.0% ------------------------------------------------------------------------------ for-loop [34] 100.0% [45] 216(2.6%) 216(2.6%) procedure-reduce-keyword-arity-mask ....rkt:1562:4 ------------------------------------------------------------------------------ loop [38] 100.0% [46] 2368(28.6%) 0(0.0%) loop ...ightlies/herbie/master/src/points.rkt:81:2 ??? [50] 100.0% ------------------------------------------------------------------------------ loop [38] 100.0% [47] 2328(28.1%) 318(3.8%) ??? ...ightlies/herbie/master/src/points.rkt:106:2 ??? [57] 74.7% do-curry [51] 11.7% ------------------------------------------------------------------------------ for-loop [40] 100.0% [48] 268(3.2%) 0(0.0%) for-loop ...erbie/master/src/core/egraph.rkt:217:8 hash-update! [52] 100.0% ------------------------------------------------------------------------------ foldr [43] 100.0% [49] 242(2.9%) 0(0.0%) cp-2 .../racket-7.2/collects/racket/list.rkt:826:2 for-loop [53] 100.0% ------------------------------------------------------------------------------ ??? [29] 18.1% loop [46] 81.9% [50] 2890(34.9%) 0(0.0%) ??? ...htlies/herbie/master/src/programs.rkt:115:2 ??? [54] 81.9% ??? [57] 9.1% ??? [56] 9.1% ------------------------------------------------------------------------------ ??? [47] 100.0% [51] 272(3.3%) 272(3.3%) do-curry ...-7.2/collects/racket/function.rkt:71:2 ------------------------------------------------------------------------------ for-loop [48] 100.0% [52] 268(3.2%) 0(0.0%) hash-update! ...cket/private/more-scheme.rkt:365:4 ??? [55] 100.0% ------------------------------------------------------------------------------ cp-2 [49] 100.0% [53] 242(2.9%) 242(2.9%) for-loop ...ket-7.2/collects/racket/list.rkt:827:4 ------------------------------------------------------------------------------ ??? [50] 100.0% [54] 2366(28.6%) 260(3.1%) ??? ...t-7.2/collects/racket/private/kw.rkt:594:14 ??? [57] 66.9% ??? [58] 22.1% ------------------------------------------------------------------------------ hash-update! [52] 100.0% [55] 268(3.2%) 0(0.0%) ??? ...es/herbie/master/src/core/egraph.rkt:219:24 for-loop [59] 100.0% ------------------------------------------------------------------------------ ??? [50] 100.0% [56] 262(3.2%) 262(3.2%) ??? ...cket-7.2/collects/racket/function.rkt:93:12 ------------------------------------------------------------------------------ loop [6] 1.7% location-do [65] 1.7% for-loop [22] 1.7% ??? [50] 6.9% ??? [54] 41.9% ??? [47] 46.0% [57] 3780(45.6%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:360:33 ival-mult [60] 41.9% sample-multi-bounded [61] 39.2% mk-ival [63] 6.9% ??? [64] 6.8% location-do [65] 1.7% approximate9 [3] 1.7% hash-ref! [66] 1.7% ------------------------------------------------------------------------------ ??? [54] 100.0% [58] 522(6.3%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:364:33 ival-sub [62] 100.0% ------------------------------------------------------------------------------ ??? [55] 100.0% [59] 268(3.2%) 268(3.2%) for-loop ...rbie/master/src/core/egraph.rkt:220:26 ------------------------------------------------------------------------------ ??? [57] 100.0% [60] 1584(19.1%) 0(0.0%) ival-mult ...rbie/master/src/biginterval.rkt:111:0 bfsub [67] 100.0% ------------------------------------------------------------------------------ ??? [57] 100.0% [61] 1482(17.9%) 500(6.0%) sample-multi-bounded ...master/src/points.rkt:15:0 random-ranges [68] 66.3% ------------------------------------------------------------------------------ ??? [58] 100.0% [62] 522(6.3%) 274(3.3%) ival-sub ...herbie/master/src/biginterval.rkt:99:0 bfsub [67] 47.5% ------------------------------------------------------------------------------ ??? [57] 100.0% [63] 262(3.2%) 0(0.0%) mk-ival .../herbie/master/src/biginterval.rkt:57:0 bf [69] 100.0% ------------------------------------------------------------------------------ ??? [57] 100.0% [64] 256(3.1%) 256(3.1%) ??? ...cts/racket/contract/private/list.rkt:209:10 ------------------------------------------------------------------------------ location-do [65] 50.0% ??? [57] 50.0% [65] 196(2.4%) 0(0.0%) location-do ...herbie/master/src/programs.rkt:64:0 location-do [65] 50.0% ??? [57] 50.0% ------------------------------------------------------------------------------ ??? [71] 50.0% ??? [57] 50.0% [66] 196(2.4%) 0(0.0%) hash-ref! .../racket/private/more-scheme.rkt:376:2 ??? [71] 50.0% simplify [70] 50.0% ------------------------------------------------------------------------------ ival-sub [62] 13.5% ival-mult [60] 86.5% [67] 1832(22.1%) 0(0.0%) bfsub ...-lib/math/private/bigfloat/mpfr.rkt:821:4 ??? [72] 86.5% new-mpfr [73] 13.5% ------------------------------------------------------------------------------ sample-multi-bounded [61] 100.0% [68] 982(11.9%) 982(11.9%) random-ranges ...erbie/master/src/common.rkt:183:0 ------------------------------------------------------------------------------ mk-ival [63] 100.0% [69] 262(3.2%) 0(0.0%) bf ...ath-lib/math/private/bigfloat/mpfr.rkt:601:2 ??? [72] 100.0% ------------------------------------------------------------------------------ hash-ref! [66] 100.0% [70] 196(2.4%) 0(0.0%) simplify ...herbie/master/src/core/reduce.rkt:16:0 parse-loop80 [74] 100.0% ------------------------------------------------------------------------------ hash-ref! [66] 100.0% [71] 196(2.4%) 0(0.0%) ??? ...ies/herbie/master/src/core/taylor.rkt:45:15 hash-ref! [66] 100.0% ------------------------------------------------------------------------------ bf [69] 14.2% bfsub [67] 85.8% [72] 1846(22.3%) 1846(22.3%) ??? /opt/racket-7.2/collects/ffi/unsafe.rkt:905:4 ------------------------------------------------------------------------------ bfsub [67] 100.0% [73] 248(3.0%) 248(3.0%) new-mpfr ...b/math/private/bigfloat/mpfr.rkt:335:0 ------------------------------------------------------------------------------ simplify [70] 100.0% [74] 196(2.4%) 0(0.0%) parse-loop80 ...s/racket/match/compiler.rkt:418:15 eval-const-expr [75] 100.0% ------------------------------------------------------------------------------ parse-loop80 [74] 100.0% [75] 196(2.4%) 0(0.0%) eval-const-expr ...e/master/src/programs.rkt:118:0 inductor [76] 100.0% ------------------------------------------------------------------------------ eval-const-expr [75] 100.0% [76] 196(2.4%) 0(0.0%) inductor ...s/herbie/master/src/programs.rkt:104:4 table-ref [77] 100.0% ------------------------------------------------------------------------------ inductor [76] 100.0% [77] 196(2.4%) 196(2.4%) table-ref ...ies/herbie/master/src/common.rkt:45:0 ------------------------------------------------------------------------------