Profiling results ----------------- Total cpu time observed: 2956ms (out of 3108ms) Number of samples taken: 16 (once every 185ms) ========================================================================= Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ========================================================================= [1] 2956(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [6] 100.0% ------------------------------------------------------------------------- matcher [77] 100.0% [2] 180(6.1%) 0(0.0%) ??? ...e-to-egg-herbie/src/core/matcher.rkt:130:11 for-loop [7] 100.0% ------------------------------------------------------------------------- ??? [67] 100.0% [3] 166(5.6%) 0(0.0%) approximate9 ...gg-herbie/src/core/taylor.rkt:12:0 loop [8] 100.0% ------------------------------------------------------------------------- map [24] 100.0% [4] 166(5.6%) 0(0.0%) ??? ...more-to-egg-herbie/src/core/reduce.rkt:57:5 for-loop [10] 100.0% ------------------------------------------------------------------------- hash-ref! [12] 100.0% [5] 166(5.6%) 0(0.0%) ??? ...re-to-egg-herbie/src/core/taylor.rkt:291:26 for-loop [9] 100.0% ------------------------------------------------------------------------- ??? [1] 100.0% [6] 2956(100.0%) 0(0.0%) profile-thunk16 ...e/pkgs/profile-lib/main.rkt:9:0 run [11] 100.0% ------------------------------------------------------------------------- ??? [2] 100.0% [7] 180(6.1%) 0(0.0%) for-loop ...egg-herbie/src/core/matcher.rkt:132:15 matcher [77] 100.0% ------------------------------------------------------------------------- approximate9 [3] 100.0% [8] 166(5.6%) 0(0.0%) loop ...ore-to-egg-herbie/src/core/taylor.rkt:87:4 hash-ref! [12] 100.0% ------------------------------------------------------------------------- ??? [5] 100.0% [9] 166(5.6%) 0(0.0%) for-loop ...-egg-herbie/src/core/taylor.rkt:291:52 hash-ref! [12] 100.0% ------------------------------------------------------------------------- ??? [4] 100.0% [10] 166(5.6%) 0(0.0%) for-loop ...to-egg-herbie/src/core/reduce.rkt:58:7 pattern-match [13] 100.0% ------------------------------------------------------------------------- profile-thunk16 [6] 100.0% [11] 2956(100.0%) 0(0.0%) run ...et-7.5/share/pkgs/profile-lib/main.rkt:39:2 .../more-scheme.rkt:261:28 [14] 100.0% ------------------------------------------------------------------------- for-loop [9] 25.0% ??? [15] 25.0% ??? [67] 25.0% loop [8] 25.0% [12] 166(5.6%) 0(0.0%) hash-ref! .../racket/private/more-scheme.rkt:376:2 ??? [17] 25.0% ??? [15] 25.0% ??? [5] 25.0% f41 [16] 25.0% ------------------------------------------------------------------------- for-loop [10] 100.0% [13] 166(5.6%) 0(0.0%) pattern-match ...-herbie/src/core/matcher.rkt:30:0 for-loop [18] 100.0% ------------------------------------------------------------------------- for-loop [80] 2.5% run [11] 97.5% [14] 2956(100.0%) 0(0.0%) .../more-scheme.rkt:261:28 (unknown source) prepare-points-intervals [19] 46.4% run-improve47 [20] 19.3% get-final-combination [21] 18.7% baseline-error [22] 6.7% oracle-error [23] 6.4% ??? [53] 2.5% ------------------------------------------------------------------------- hash-ref! [12] 100.0% [15] 166(5.6%) 0(0.0%) ??? ...ore-to-egg-herbie/src/core/taylor.rkt:45:15 hash-ref! [12] 100.0% ------------------------------------------------------------------------- hash-ref! [12] 25.0% map [24] 75.0% [16] 166(5.6%) 0(0.0%) f41 (unknown source) map [24] 100.0% ------------------------------------------------------------------------- hash-ref! [12] 100.0% [17] 166(5.6%) 0(0.0%) ??? ...ore-to-egg-herbie/src/core/taylor.rkt:68:15 ??? [67] 100.0% ------------------------------------------------------------------------- pattern-match [13] 100.0% [18] 166(5.6%) 0(0.0%) for-loop ...o-egg-herbie/src/core/matcher.rkt:27:9 core457 [25] 100.0% ------------------------------------------------------------------------- .../more-scheme.rkt:261:28 [14] 100.0% [19] 1372(46.4%) 0(0.0%) prepare-points-intervals ...e/src/points.rkt:110:0 loop [26] 100.0% ------------------------------------------------------------------------- .../more-scheme.rkt:261:28 [14] 100.0% [20] 646(21.9%) 0(0.0%) run-improve47 ...egg-herbie/src/mainloop.rkt:346:0 for-loop [27] 100.0% ------------------------------------------------------------------------- .../more-scheme.rkt:261:28 [14] 100.0% [21] 552(18.7%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:371:0 infer-splitpoints [28] 100.0% ------------------------------------------------------------------------- .../more-scheme.rkt:261:28 [14] 100.0% [22] 198(6.7%) 0(0.0%) baseline-error ...-egg-herbie/src/points.rkt:192:0 argmin [29] 100.0% ------------------------------------------------------------------------- .../more-scheme.rkt:261:28 [14] 100.0% [23] 188(6.4%) 0(0.0%) oracle-error ...to-egg-herbie/src/points.rkt:188:0 for-loop [30] 100.0% ------------------------------------------------------------------------- f41 [16] 100.0% [24] 166(5.6%) 0(0.0%) map ...t-7.5/collects/racket/private/map.rkt:35:13 f41 [16] 75.0% ??? [4] 25.0% ------------------------------------------------------------------------- for-loop [18] 100.0% [25] 166(5.6%) 0(0.0%) core457 ...acket/contract/private/arr-i.rkt:976:19 un-dep/maybe-chaperone [31] 100.0% ------------------------------------------------------------------------- prepare-points-intervals [19] 100.0% [26] 1372(46.4%) 202(6.8%) loop ...ve-more-to-egg-herbie/src/points.rkt:123:4 loop [32] 56.9% ??? [35] 28.4% ------------------------------------------------------------------------- run-improve47 [20] 100.0% [27] 646(21.9%) 0(0.0%) for-loop ...e-to-egg-herbie/src/mainloop.rkt:365:4 run-iter! [33] 100.0% ------------------------------------------------------------------------- get-final-combination [21] 100.0% [28] 552(18.7%) 0(0.0%) infer-splitpoints ...bie/src/core/regimes.rkt:34:0 for-loop [34] 100.0% ------------------------------------------------------------------------- baseline-error [22] 100.0% [29] 198(6.7%) 0(0.0%) argmin ...acket-7.5/collects/racket/list.rkt:765:0 ??? [36] 100.0% ------------------------------------------------------------------------- oracle-error [23] 100.0% [30] 188(6.4%) 0(0.0%) for-loop ...ore-to-egg-herbie/src/points.rkt:189:2 loop [37] 100.0% ------------------------------------------------------------------------- core457 [25] 100.0% [31] 166(5.6%) 0(0.0%) un-dep/maybe-chaperone ...private/arr-i.rkt:1137:2 get/build-late-neg-projection [38] 100.0% ------------------------------------------------------------------------- loop [26] 100.0% [32] 780(26.4%) 0(0.0%) loop ...ove-more-to-egg-herbie/src/points.rkt:81:2 ??? [53] 100.0% ------------------------------------------------------------------------- for-loop [27] 100.0% [33] 646(21.9%) 0(0.0%) run-iter! ...-to-egg-herbie/src/mainloop.rkt:327:0 gen-rewrites! [42] 27.9% gen-series! [44] 25.7% finalize-iter! [46] 23.2% simplify! [45] 23.2% ------------------------------------------------------------------------- infer-splitpoints [28] 100.0% [34] 552(18.7%) 0(0.0%) for-loop ...o-egg-herbie/src/core/regimes.rkt:47:6 option-on-expr [39] 100.0% ------------------------------------------------------------------------- loop [26] 100.0% [35] 390(13.2%) 390(13.2%) ??? ...ove-more-to-egg-herbie/src/points.rkt:106:2 ------------------------------------------------------------------------- argmin [29] 100.0% [36] 198(6.7%) 0(0.0%) ??? ...ve-more-to-egg-herbie/src/points.rkt:193:27 eval-errors [40] 100.0% ------------------------------------------------------------------------- for-loop [30] 100.0% [37] 188(6.4%) 0(0.0%) loop (unknown source) ??? [41] 100.0% ------------------------------------------------------------------------- single-or/c-late-neg-projection [43] 50.0% un-dep/maybe-chaperone [31] 50.0% [38] 166(5.6%) 166(5.6%) get/build-late-neg-projection ...te/guts.rkt:827:0 single-or/c-late-neg-projection [43] 50.0% ------------------------------------------------------------------------- for-loop [34] 100.0% [39] 552(18.7%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:126:0 err-lsts->split-indices [47] 100.0% ------------------------------------------------------------------------- ??? [36] 100.0% [40] 198(6.7%) 0(0.0%) eval-errors ...-to-egg-herbie/src/points.rkt:179:0 for-loop [48] 100.0% ------------------------------------------------------------------------- loop [37] 100.0% [41] 188(6.4%) 0(0.0%) ??? ...ve-more-to-egg-herbie/src/points.rkt:190:26 ??? [53] 100.0% ------------------------------------------------------------------------- run-iter! [33] 100.0% [42] 180(6.1%) 0(0.0%) gen-rewrites! ...egg-herbie/src/mainloop.rkt:183:0 for-loop [49] 100.0% ------------------------------------------------------------------------- get/build-late-neg-projection [38] 100.0% [43] 166(5.6%) 0(0.0%) single-or/c-late-neg-projection ...te/orc.rkt:85:0 get/build-late-neg-projection [38] 100.0% ------------------------------------------------------------------------- run-iter! [33] 100.0% [44] 166(5.6%) 0(0.0%) gen-series! ...o-egg-herbie/src/mainloop.rkt:160:0 for-loop [50] 100.0% ------------------------------------------------------------------------- run-iter! [33] 100.0% [45] 150(5.1%) 0(0.0%) simplify! ...-to-egg-herbie/src/mainloop.rkt:224:0 ??? [51] 100.0% ------------------------------------------------------------------------- run-iter! [33] 100.0% [46] 150(5.1%) 0(0.0%) finalize-iter! ...gg-herbie/src/mainloop.rkt:278:0 ??? [52] 100.0% ------------------------------------------------------------------------- option-on-expr [39] 100.0% [47] 552(18.7%) 0(0.0%) err-lsts->split-indices .../core/regimes.rkt:262:0 loop [54] 100.0% ------------------------------------------------------------------------- eval-errors [40] 100.0% [48] 198(6.7%) 0(0.0%) for-loop ...ore-to-egg-herbie/src/points.rkt:181:2 ??? [53] 100.0% ------------------------------------------------------------------------- gen-rewrites! [42] 100.0% [49] 180(6.1%) 0(0.0%) for-loop ...-to-egg-herbie/src/mainloop.rkt:191:11 rewrite-expression-head20 [55] 100.0% ------------------------------------------------------------------------- gen-series! [44] 100.0% [50] 166(5.6%) 0(0.0%) for-loop ...e-to-egg-herbie/src/mainloop.rkt:167:7 taylor-alt [56] 100.0% ------------------------------------------------------------------------- simplify! [45] 100.0% [51] 150(5.1%) 0(0.0%) ??? ...re-to-egg-herbie/src/core/simplify.rkt:44:0 egraph-run [57] 100.0% ------------------------------------------------------------------------- finalize-iter! [46] 100.0% [52] 150(5.1%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:486:18 for-loop [58] 100.0% ------------------------------------------------------------------------- .../more-scheme.rkt:261:28 [14] 11.4% ??? [41] 14.3% for-loop [48] 15.0% loop [32] 59.3% [53] 1316(44.5%) 188(6.4%) ??? ...e-more-to-egg-herbie/src/programs.rkt:115:2 ??? [67] 44.5% ??? [60] 15.0% ??? [61] 14.7% ??? [64] 11.4% ------------------------------------------------------------------------- err-lsts->split-indices [47] 100.0% [54] 552(18.7%) 0(0.0%) loop ...e-to-egg-herbie/src/core/regimes.rkt:313:4 for-loop [59] 100.0% ------------------------------------------------------------------------- for-loop [49] 100.0% [55] 180(6.1%) 0(0.0%) rewrite-expression-head20 ...core/matcher.rkt:87:0 rewriter [62] 100.0% ------------------------------------------------------------------------- for-loop [50] 100.0% [56] 166(5.6%) 0(0.0%) taylor-alt ...to-egg-herbie/src/mainloop.rkt:146:0 for-loop [63] 100.0% ------------------------------------------------------------------------- ??? [51] 100.0% [57] 150(5.1%) 0(0.0%) egraph-run .../pkgs/egg-herbie-linux/main.rkt:49:0 egraph-add-exprs [65] 100.0% ------------------------------------------------------------------------- ??? [52] 100.0% [58] 150(5.1%) 0(0.0%) for-loop ...egg-herbie/src/core/alt-table.rkt:55:2 atab-add-altn [66] 100.0% ------------------------------------------------------------------------- loop [54] 100.0% [59] 552(18.7%) 154(5.2%) for-loop ...-egg-herbie/src/core/regimes.rkt:278:4 for-loop [68] 72.1% ------------------------------------------------------------------------- ??? [53] 100.0% [60] 198(6.7%) 198(6.7%) ??? ...cket-7.5/collects/racket/function.rkt:93:12 ------------------------------------------------------------------------- ??? [53] 100.0% [61] 194(6.6%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:379:33 ival-sqrt [69] 100.0% ------------------------------------------------------------------------- rewrite-expression-head20 [55] 33.3% matcher [77] 66.7% [62] 180(6.1%) 180(6.1%) rewriter ...o-egg-herbie/src/core/matcher.rkt:90:2 for-loop [70] 66.7% ------------------------------------------------------------------------- taylor-alt [56] 100.0% [63] 166(5.6%) 0(0.0%) for-loop ...e-to-egg-herbie/src/mainloop.rkt:152:6 ??? [67] 100.0% ------------------------------------------------------------------------- ??? [53] 100.0% [64] 150(5.1%) 0(0.0%) ??? ...-to-egg-herbie/src/syntax/syntax.rkt:214:17 return/no-unsupplied [71] 100.0% ------------------------------------------------------------------------- egraph-run [57] 100.0% [65] 150(5.1%) 0(0.0%) egraph-add-exprs ...gg-herbie-linux/main.rkt:111:0 ??? [72] 100.0% ------------------------------------------------------------------------- for-loop [58] 100.0% [66] 150(5.1%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:203:0 errors [73] 100.0% ------------------------------------------------------------------------- ??? [17] 7.4% location-do [78] 7.4% for-loop [63] 7.4% ??? [53] 77.9% [67] 752(25.4%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:375:33 ival-mult [74] 53.5% mk-ival [76] 24.5% location-do [78] 7.4% approximate9 [3] 7.4% hash-ref! [12] 7.4% ------------------------------------------------------------------------- for-loop [59] 100.0% [68] 398(13.5%) 398(13.5%) for-loop ...-egg-herbie/src/core/regimes.rkt:282:8 ------------------------------------------------------------------------- ??? [61] 100.0% [69] 194(6.6%) 0(0.0%) ival-sqrt ...-egg-herbie/src/biginterval.rkt:211:0 bfsqrt [75] 100.0% ------------------------------------------------------------------------- rewriter [62] 100.0% [70] 180(6.1%) 0(0.0%) for-loop ...o-egg-herbie/src/core/matcher.rkt:92:4 matcher [77] 100.0% ------------------------------------------------------------------------- ??? [64] 100.0% [71] 150(5.1%) 150(5.1%) return/no-unsupplied ...ct/private/arr-i.rkt:566:0 ------------------------------------------------------------------------- egraph-add-exprs [65] 100.0% [72] 150(5.1%) 0(0.0%) ??? ...e-to-egg-herbie/src/core/simplify.rkt:103:6 for-loop [79] 100.0% ------------------------------------------------------------------------- atab-add-altn [66] 100.0% [73] 150(5.1%) 0(0.0%) errors ...-more-to-egg-herbie/src/points.rkt:201:0 for-loop [80] 100.0% ------------------------------------------------------------------------- ??? [67] 100.0% [74] 402(13.6%) 200(6.8%) ival-mult ...-egg-herbie/src/biginterval.rkt:119:0 bfmul [81] 50.2% ------------------------------------------------------------------------- ival-sqrt [69] 100.0% [75] 194(6.6%) 0(0.0%) bfsqrt ...lib/math/private/bigfloat/mpfr.rkt:632:4 ??? [82] 100.0% ------------------------------------------------------------------------- ??? [67] 100.0% [76] 184(6.2%) 0(0.0%) mk-ival ...-to-egg-herbie/src/biginterval.rkt:65:0 bf [83] 100.0% ------------------------------------------------------------------------- for-loop [7] 50.0% for-loop [70] 50.0% [77] 180(6.1%) 0(0.0%) matcher ...o-egg-herbie/src/core/matcher.rkt:118:2 ??? [2] 50.0% rewriter [62] 50.0% ------------------------------------------------------------------------- location-do [78] 50.0% ??? [67] 50.0% [78] 166(5.6%) 0(0.0%) location-do ...to-egg-herbie/src/programs.rkt:64:0 location-do [78] 50.0% ??? [67] 50.0% ------------------------------------------------------------------------- ??? [72] 100.0% [79] 150(5.1%) 150(5.1%) for-loop ...egg-herbie/src/core/simplify.rkt:122:2 ------------------------------------------------------------------------- errors [73] 100.0% [80] 150(5.1%) 0(0.0%) for-loop ...ore-to-egg-herbie/src/points.rkt:203:2 .../more-scheme.rkt:261:28 [14] 100.0% ------------------------------------------------------------------------- ival-mult [74] 100.0% [81] 202(6.8%) 0(0.0%) bfmul ...-lib/math/private/bigfloat/mpfr.rkt:835:4 new-mpfr [84] 100.0% ------------------------------------------------------------------------- bfsqrt [75] 100.0% [82] 194(6.6%) 194(6.6%) ??? /opt/racket-7.5/collects/ffi/unsafe.rkt:938:4 ------------------------------------------------------------------------- mk-ival [76] 100.0% [83] 184(6.2%) 0(0.0%) bf ...ath-lib/math/private/bigfloat/mpfr.rkt:615:2 new-mpfr [84] 100.0% ------------------------------------------------------------------------- bf [83] 47.7% bfmul [81] 52.3% [84] 386(13.1%) 386(13.1%) new-mpfr ...b/math/private/bigfloat/mpfr.rkt:348:0 -------------------------------------------------------------------------