Profiling results ----------------- Total cpu time observed: 18492ms (out of 19016ms) Number of samples taken: 56 (once every 330ms) ======================================================================= Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ======================================================================= ??? [5] 100.0% [1] 18492(100.0%) 0(0.0%) profile-thunk16 ...e/pkgs/profile-lib/main.rkt:9:0 run [3] 100.0% ----------------------------------------------------------------------- ??? [5] 100.0% [2] 302(1.6%) 0(0.0%) errors ...tlies/herbie/master/src/points.rkt:205:0 for-loop [4] 100.0% ----------------------------------------------------------------------- profile-thunk16 [1] 100.0% [3] 18492(100.0%) 0(0.0%) run ...et-7.0/share/pkgs/profile-lib/main.rkt:39:2 ??? [5] 100.0% ----------------------------------------------------------------------- errors [2] 100.0% [4] 302(1.6%) 0(0.0%) for-loop ...ies/herbie/master/src/points.rkt:207:2 ??? [5] 100.0% ----------------------------------------------------------------------- for-loop [4] 0.5% run [3] 49.7% [5] 18492(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [1] 49.7% run-improve47 [6] 37.5% prepare-points [7] 8.4% oracle-error [8] 1.6% eval-errors [22] 0.9% baseline-error [9] 0.9% errors [2] 0.5% infer-double-representation [58] 0.5% ----------------------------------------------------------------------- ??? [5] 100.0% [6] 13852(74.9%) 0(0.0%) run-improve47 ...bie/master/src/mainloop.rkt:342:0 simplify! [10] 100.0% ----------------------------------------------------------------------- ??? [5] 100.0% [7] 3096(16.7%) 0(0.0%) prepare-points ...rbie/master/src/points.rkt:146:0 loop [11] 100.0% ----------------------------------------------------------------------- ??? [5] 100.0% [8] 582(3.1%) 0(0.0%) oracle-error ...herbie/master/src/points.rkt:188:0 for-loop [12] 100.0% ----------------------------------------------------------------------- ??? [5] 100.0% [9] 328(1.8%) 0(0.0%) baseline-error ...rbie/master/src/points.rkt:192:0 argmin [13] 100.0% ----------------------------------------------------------------------- run-improve47 [6] 100.0% [10] 13852(74.9%) 0(0.0%) simplify! .../herbie/master/src/mainloop.rkt:220:0 ??? [14] 100.0% ----------------------------------------------------------------------- prepare-points [7] 100.0% [11] 3096(16.7%) 0(0.0%) loop ...ghtlies/herbie/master/src/points.rkt:122:4 ??? [15] 50.0% loop [16] 40.2% infer-representation [18] 9.8% ----------------------------------------------------------------------- oracle-error [8] 100.0% [12] 582(3.1%) 0(0.0%) for-loop ...ies/herbie/master/src/points.rkt:189:2 loop [48] 100.0% ----------------------------------------------------------------------- baseline-error [9] 100.0% [13] 328(1.8%) 0(0.0%) argmin ...acket-7.0/collects/racket/list.rkt:765:0 ??? [17] 100.0% ----------------------------------------------------------------------- simplify! [10] 100.0% [14] 13852(74.9%) 0(0.0%) ??? ...es/herbie/master/src/core/simplify.rkt:26:0 for-loop [19] 100.0% ----------------------------------------------------------------------- loop [11] 100.0% [15] 1548(8.4%) 322(1.7%) ??? ...ightlies/herbie/master/src/points.rkt:106:2 ??? [20] 79.2% ----------------------------------------------------------------------- loop [11] 100.0% [16] 1244(6.7%) 322(1.7%) loop ...ightlies/herbie/master/src/points.rkt:81:2 ??? [21] 74.1% ----------------------------------------------------------------------- argmin [13] 100.0% [17] 328(1.8%) 0(0.0%) ??? ...ghtlies/herbie/master/src/points.rkt:193:27 eval-errors [22] 100.0% ----------------------------------------------------------------------- loop [11] 100.0% [18] 304(1.6%) 0(0.0%) infer-representation .../master/src/float.rkt:15:0 return/no-unsupplied [61] 100.0% ----------------------------------------------------------------------- ??? [14] 100.0% [19] 13852(74.9%) 0(0.0%) for-loop ...rbie/master/src/core/simplify.rkt:33:2 one-iter [23] 100.0% ----------------------------------------------------------------------- ??? [15] 100.0% [20] 1226(6.6%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:357:33 sample-multi-bounded [24] 100.0% ----------------------------------------------------------------------- loop [16] 100.0% [21] 922(5.0%) 0(0.0%) ??? ...htlies/herbie/master/src/programs.rkt:108:2 ??? [25] 100.0% ----------------------------------------------------------------------- ??? [17] 49.7% ??? [5] 50.3% [22] 660(3.6%) 0(0.0%) eval-errors .../herbie/master/src/points.rkt:179:0 for-loop [26] 100.0% ----------------------------------------------------------------------- for-loop [19] 100.0% [23] 13852(74.9%) 0(0.0%) one-iter ...rbie/master/src/core/simplify.rkt:65:0 for-loop [27] 86.6% find-matches [28] 11.1% for-loop [31] 2.3% ----------------------------------------------------------------------- ??? [20] 100.0% [24] 1226(6.6%) 310(1.7%) sample-multi-bounded ...master/src/points.rkt:15:0 random-ranges [30] 74.7% ----------------------------------------------------------------------- ??? [21] 100.0% [25] 922(5.0%) 0(0.0%) ??? ...t-7.0/collects/racket/private/kw.rkt:592:14 ??? [29] 100.0% ----------------------------------------------------------------------- eval-errors [22] 100.0% [26] 660(3.6%) 0(0.0%) for-loop ...ies/herbie/master/src/points.rkt:181:2 infer-double-representation [58]100.0% ----------------------------------------------------------------------- one-iter [23] 100.0% [27] 11994(64.9%) 0(0.0%) for-loop ...rbie/master/src/core/simplify.rkt:67:2 for-loop [32] 100.0% ----------------------------------------------------------------------- one-iter [23] 100.0% [28] 1534(8.3%) 0(0.0%) find-matches .../master/src/core/simplify.rkt:55:0 for-loop [33] 100.0% ----------------------------------------------------------------------- ??? [25] 100.0% [29] 922(5.0%) 326(1.8%) ??? ...tract/private/arrow-higher-order.rkt:361:33 ival-sub [34] 64.6% ----------------------------------------------------------------------- sample-multi-bounded [24] 100.0% [30] 916(5.0%) 916(5.0%) random-ranges ...erbie/master/src/common.rkt:183:0 ----------------------------------------------------------------------- one-iter [23] 100.0% [31] 324(1.8%) 0(0.0%) for-loop ...rbie/master/src/core/simplify.rkt:75:2 update-leader! [35] 100.0% ----------------------------------------------------------------------- for-loop [27] 100.0% [32] 11994(64.9%) 0(0.0%) for-loop ...rbie/master/src/core/simplify.rkt:70:4 merge-egraph-nodes! [36] 60.5% dedup-children! [42] 36.7% substitute-e [39] 2.8% ----------------------------------------------------------------------- for-loop [33] 50.0% find-matches [28] 50.0% [33] 1534(8.3%) 0(0.0%) for-loop ...rbie/master/src/core/simplify.rkt:57:8 for-loop [33] 50.0% match-e [37] 50.0% ----------------------------------------------------------------------- ??? [29] 100.0% [34] 596(3.2%) 0(0.0%) ival-sub ...erbie/master/src/biginterval.rkt:100:0 bfsub [38] 100.0% ----------------------------------------------------------------------- for-loop [31] 100.0% [35] 324(1.8%) 0(0.0%) update-leader! ...master/src/core/egraph.rkt:211:0 for-loop [40] 100.0% ----------------------------------------------------------------------- merge-egraph-nodes! [36] 8.1% for-loop [32] 91.9% [36] 7258(39.2%) 0(0.0%) merge-egraph-nodes! ...r/src/core/egraph.rkt:143:0 loop! [41] 82.3% dedup-children! [42] 9.6% merge-egraph-nodes! [36] 8.1% ----------------------------------------------------------------------- for-loop [54] 9.8% for-loop [33] 90.2% [37] 1534(8.3%) 0(0.0%) match-e .../herbie/master/src/core/ematch.rkt:39:0 for-loop [43] 68.4% constant? [44] 31.6% ----------------------------------------------------------------------- ival-sub [34] 100.0% [38] 596(3.2%) 0(0.0%) bfsub ...-lib/math/private/bigfloat/mpfr.rkt:821:4 new-mpfr [45] 100.0% ----------------------------------------------------------------------- for-loop [46] 50.0% for-loop [32] 50.0% [39] 330(1.8%) 0(0.0%) substitute-e ...ie/master/src/core/ematch.rkt:64:0 for-loop [46] 50.0% constant? [44] 50.0% ----------------------------------------------------------------------- update-leader! [35] 100.0% [40] 324(1.8%) 0(0.0%) for-loop ...erbie/master/src/core/egraph.rkt:216:6 hash-update! [47] 100.0% ----------------------------------------------------------------------- loop [48] 34.1% merge-egraph-nodes! [36] 65.9% [41] 6558(35.5%) 1740(9.4%) loop! ...es/herbie/master/src/core/enode.rkt:187:2 loop [48] 39.5% custom-set-union [51] 28.8% set [50] 18.4% ----------------------------------------------------------------------- merge-egraph-nodes! [36] 13.7% for-loop [32] 86.3% [42] 5106(27.6%) 0(0.0%) dedup-children! ...master/src/core/enode.rkt:195:0 loop [49] 100.0% ----------------------------------------------------------------------- match-e [37] 100.0% [43] 1200(6.5%) 900(4.9%) for-loop ...erbie/master/src/core/ematch.rkt:52:11 for-loop [54] 25.0% ----------------------------------------------------------------------- substitute-e [39] 34.2% match-e [37] 65.8% [44] 964(5.2%) 0(0.0%) constant? ...ie/master/src/syntax/syntax.rkt:719:0 value? [52] 100.0% ----------------------------------------------------------------------- bfsub [38] 100.0% [45] 596(3.2%) 596(3.2%) new-mpfr ...b/math/private/bigfloat/mpfr.rkt:335:0 ----------------------------------------------------------------------- substitute-e [39] 100.0% [46] 330(1.8%) 0(0.0%) for-loop ...erbie/master/src/core/ematch.rkt:73:24 substitute-e [39] 100.0% ----------------------------------------------------------------------- for-loop [40] 100.0% [47] 324(1.8%) 0(0.0%) hash-update! ...cket/private/more-scheme.rkt:365:4 ??? [53] 100.0% ----------------------------------------------------------------------- loop! [41] 0.6% for-loop [12] 10.8% loop [48] 88.7% [48] 5408(29.2%) 360(1.9%) loop ...-7.0/collects/racket/private/map.rkt:40:19 loop [48] 88.7% infer-double-representation [58] 5.4% ??? [57] 5.3% loop! [41] 0.6% ----------------------------------------------------------------------- dedup-children! [42] 1.1% loop [49] 98.9% [49] 5106(27.6%) 5106(27.6%) loop ...racket-7.0/collects/racket/list.rkt:434:17 loop [49] 98.9% ----------------------------------------------------------------------- loop! [41] 100.0% [50] 2412(13.0%) 2412(13.0%) set ...collects/racket/private/set-types.rkt:981:0 ----------------------------------------------------------------------- loop! [41] 100.0% [51] 2046(11.1%) 1348(7.3%) custom-set-union ...et/private/set-types.rkt:168:0 for-loop [55] 34.1% ----------------------------------------------------------------------- constant? [44] 100.0% [52] 964(5.2%) 964(5.2%) value? .../herbie/master/src/syntax/types.rkt:18:0 ----------------------------------------------------------------------- hash-update! [47] 100.0% [53] 324(1.8%) 0(0.0%) ??? ...es/herbie/master/src/core/egraph.rkt:219:24 for-loop [56] 100.0% ----------------------------------------------------------------------- for-loop [43] 100.0% [54] 300(1.6%) 0(0.0%) for-loop ...erbie/master/src/core/ematch.rkt:58:37 match-e [37] 100.0% ----------------------------------------------------------------------- custom-set-union [51] 100.0% [55] 698(3.8%) 338(1.8%) for-loop ...cts/racket/private/set-types.rkt:174:3 for-loop [59] 51.6% ----------------------------------------------------------------------- ??? [53] 100.0% [56] 324(1.8%) 324(1.8%) for-loop ...rbie/master/src/core/egraph.rkt:220:26 ----------------------------------------------------------------------- loop [48] 100.0% [57] 288(1.6%) 0(0.0%) ??? ...ghtlies/herbie/master/src/points.rkt:190:26 infer-double-representation [58]100.0% ----------------------------------------------------------------------- ??? [57] 18.7% loop [48] 19.0% ??? [5] 19.6% for-loop [26] 42.7% [58] 1544(8.3%) 0(0.0%) infer-double-representation .../src/float.rkt:22:0 for-loop [60] 100.0% ----------------------------------------------------------------------- for-loop [55] 100.0% [59] 360(1.9%) 360(1.9%) for-loop ...cts/racket/private/set-types.rkt:178:5 ----------------------------------------------------------------------- infer-double-representation [58]100.0% [60] 1544(8.3%) 1250(6.8%) for-loop ...tlies/herbie/master/src/float.rkt:17:3 return/no-unsupplied [61] 19.0% ----------------------------------------------------------------------- for-loop [60] 49.2% infer-representation [18] 50.8% [61] 598(3.2%) 294(1.6%) return/no-unsupplied ...ct/private/arr-i.rkt:534:0 filter [62] 50.8% ----------------------------------------------------------------------- return/no-unsupplied [61] 100.0% [62] 304(1.6%) 304(1.6%) filter ...0/collects/racket/private/list.rkt:256:2 -----------------------------------------------------------------------