Profiling results ----------------- Total cpu time observed: 3768ms (out of 3920ms) Number of samples taken: 17 (once every 222ms) ==================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ==================================================================== [1] 3768(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [3] 100.0% -------------------------------------------------------------------- matcher [54] 100.0% [2] 224(5.9%) 0(0.0%) ??? ...e-to-egg-herbie/src/core/matcher.rkt:130:11 for-loop [4] 100.0% -------------------------------------------------------------------- ??? [1] 100.0% [3] 3768(100.0%) 0(0.0%) profile-thunk16 ...e/pkgs/profile-lib/main.rkt:9:0 run [5] 100.0% -------------------------------------------------------------------- ??? [2] 100.0% [4] 224(5.9%) 0(0.0%) for-loop ...egg-herbie/src/core/matcher.rkt:132:15 matcher [54] 100.0% -------------------------------------------------------------------- profile-thunk16 [3] 100.0% [5] 3768(100.0%) 0(0.0%) run ...et-7.5/share/pkgs/profile-lib/main.rkt:39:2 .../more-scheme.rkt:261:28 [6]100.0% -------------------------------------------------------------------- for-loop [48] 4.9% run [5] 95.1% [6] 3768(100.0%) 0(0.0%) .../more-scheme.rkt:261:28 (unknown source) run-improve47 [7] 45.3% prepare-points-intervals [8] 29.2% eval-errors [9] 5.4% oracle-error [10] 5.2% errors [43] 5.2% get-final-combination [11] 4.9% ??? [24] 4.9% -------------------------------------------------------------------- .../more-scheme.rkt:261:28 [6]100.0% [7] 1890(50.2%) 0(0.0%) run-improve47 ...egg-herbie/src/mainloop.rkt:346:0 for-loop [12] 100.0% -------------------------------------------------------------------- .../more-scheme.rkt:261:28 [6]100.0% [8] 1100(29.2%) 0(0.0%) prepare-points-intervals ...e/src/points.rkt:110:0 loop [13] 100.0% -------------------------------------------------------------------- .../more-scheme.rkt:261:28 [6]100.0% [9] 202(5.4%) 0(0.0%) eval-errors ...-to-egg-herbie/src/points.rkt:179:0 for-loop [14] 100.0% -------------------------------------------------------------------- .../more-scheme.rkt:261:28 [6]100.0% [10] 196(5.2%) 0(0.0%) oracle-error ...to-egg-herbie/src/points.rkt:188:0 for-loop [15] 100.0% -------------------------------------------------------------------- .../more-scheme.rkt:261:28 [6]100.0% [11] 184(4.9%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:371:0 infer-splitpoints [16] 100.0% -------------------------------------------------------------------- run-improve47 [7] 100.0% [12] 1890(50.2%) 0(0.0%) for-loop ...e-to-egg-herbie/src/mainloop.rkt:365:4 run-iter! [17] 100.0% -------------------------------------------------------------------- prepare-points-intervals [8] 100.0% [13] 1100(29.2%) 0(0.0%) loop ...ve-more-to-egg-herbie/src/points.rkt:123:4 ??? [18] 50.0% loop [19] 33.5% andmap [22] 16.5% -------------------------------------------------------------------- eval-errors [9] 100.0% [14] 202(5.4%) 0(0.0%) for-loop ...ore-to-egg-herbie/src/points.rkt:181:2 ??? [24] 100.0% -------------------------------------------------------------------- oracle-error [10] 100.0% [15] 196(5.2%) 0(0.0%) for-loop ...ore-to-egg-herbie/src/points.rkt:189:2 loop [20] 100.0% -------------------------------------------------------------------- get-final-combination [11] 100.0% [16] 184(4.9%) 0(0.0%) infer-splitpoints ...bie/src/core/regimes.rkt:34:0 for-loop [21] 100.0% -------------------------------------------------------------------- for-loop [12] 100.0% [17] 1890(50.2%) 0(0.0%) run-iter! ...-to-egg-herbie/src/mainloop.rkt:327:0 simplify! [23] 68.7% finalize-iter! [25] 19.5% gen-rewrites! [26] 11.9% -------------------------------------------------------------------- loop [13] 100.0% [18] 550(14.6%) 0(0.0%) ??? ...ove-more-to-egg-herbie/src/points.rkt:106:2 ??? [56] 100.0% -------------------------------------------------------------------- loop [13] 100.0% [19] 368(9.8%) 0(0.0%) loop ...ove-more-to-egg-herbie/src/points.rkt:81:2 ??? [24] 50.0% ??? [28] 50.0% -------------------------------------------------------------------- for-loop [15] 100.0% [20] 196(5.2%) 0(0.0%) loop (unknown source) ??? [27] 100.0% -------------------------------------------------------------------- infer-splitpoints [16] 100.0% [21] 184(4.9%) 0(0.0%) for-loop ...o-egg-herbie/src/core/regimes.rkt:47:6 option-on-expr [29] 100.0% -------------------------------------------------------------------- loop [13] 100.0% [22] 182(4.8%) 0(0.0%) andmap ...5/collects/racket/private/map.rkt:102:13 ordinary-value? [30] 100.0% -------------------------------------------------------------------- run-iter! [17] 100.0% [23] 1298(34.4%) 0(0.0%) simplify! ...-to-egg-herbie/src/mainloop.rkt:224:0 ??? [31] 100.0% -------------------------------------------------------------------- loop [19] 24.4% for-loop [14] 26.8% .../more-scheme.rkt:261:28 [6] 48.8% [24] 754(20.0%) 0(0.0%) ??? ...e-more-to-egg-herbie/src/programs.rkt:115:2 ??? [32] 48.8% ??? [56] 26.8% ??? [35] 24.4% -------------------------------------------------------------------- run-iter! [17] 100.0% [25] 368(9.8%) 0(0.0%) finalize-iter! ...gg-herbie/src/mainloop.rkt:278:0 ??? [33] 100.0% -------------------------------------------------------------------- run-iter! [17] 100.0% [26] 224(5.9%) 0(0.0%) gen-rewrites! ...egg-herbie/src/mainloop.rkt:183:0 for-loop [34] 100.0% -------------------------------------------------------------------- loop [20] 100.0% [27] 196(5.2%) 0(0.0%) ??? ...ve-more-to-egg-herbie/src/points.rkt:190:26 ??? [56] 100.0% -------------------------------------------------------------------- loop [19] 100.0% [28] 184(4.9%) 184(4.9%) ??? /opt/racket-7.5/collects/ffi/unsafe.rkt:938:4 -------------------------------------------------------------------- for-loop [21] 100.0% [29] 184(4.9%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:126:0 sort-context-on-expr [36] 100.0% -------------------------------------------------------------------- andmap [22] 100.0% [30] 182(4.8%) 182(4.8%) ordinary-value? ...o-egg-herbie/src/float.rkt:52:0 -------------------------------------------------------------------- simplify! [23] 100.0% [31] 1298(34.4%) 0(0.0%) ??? ...re-to-egg-herbie/src/core/simplify.rkt:44:0 egraph-run [37] 100.0% -------------------------------------------------------------------- ??? [24] 100.0% [32] 368(9.8%) 368(9.8%) ??? ...-to-egg-herbie/src/syntax/syntax.rkt:214:17 -------------------------------------------------------------------- finalize-iter! [25] 100.0% [33] 368(9.8%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:486:18 for-loop [38] 100.0% -------------------------------------------------------------------- gen-rewrites! [26] 100.0% [34] 224(5.9%) 0(0.0%) for-loop ...-to-egg-herbie/src/mainloop.rkt:191:11 rewrite-expression-head20 [39]100.0% -------------------------------------------------------------------- ??? [24] 100.0% [35] 184(4.9%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:379:33 ival-sub [40] 100.0% -------------------------------------------------------------------- option-on-expr [29] 100.0% [36] 184(4.9%) 0(0.0%) sort-context-on-expr ...src/core/regimes.rkt:119:0 ??? [41] 100.0% -------------------------------------------------------------------- ??? [31] 100.0% [37] 1298(34.4%) 0(0.0%) egraph-run .../pkgs/egg-herbie-linux/main.rkt:49:0 egraph-add-exprs [42] 100.0% -------------------------------------------------------------------- ??? [33] 100.0% [38] 368(9.8%) 0(0.0%) for-loop ...egg-herbie/src/core/alt-table.rkt:55:2 errors [43] 100.0% -------------------------------------------------------------------- for-loop [34] 100.0% [39] 224(5.9%) 0(0.0%) rewrite-expression-head20 ...core/matcher.rkt:87:0 rewriter [44] 100.0% -------------------------------------------------------------------- ??? [35] 100.0% [40] 184(4.9%) 0(0.0%) ival-sub ...o-egg-herbie/src/biginterval.rkt:107:0 bfsub [45] 100.0% -------------------------------------------------------------------- sort-context-on-expr [36] 100.0% [41] 184(4.9%) 0(0.0%) ??? ...-7.5/collects/racket/private/sort.rkt:369:3 generic-sort/key [46] 100.0% -------------------------------------------------------------------- egraph-run [37] 100.0% [42] 1298(34.4%) 0(0.0%) egraph-add-exprs ...gg-herbie-linux/main.rkt:111:0 ??? [47] 100.0% -------------------------------------------------------------------- .../more-scheme.rkt:261:28 [6] 34.8% for-loop [38] 65.2% [43] 564(15.0%) 0(0.0%) errors ...-more-to-egg-herbie/src/points.rkt:201:0 for-loop [48] 100.0% -------------------------------------------------------------------- matcher [54] 50.0% rewrite-expression-head20 [39] 50.0% [44] 224(5.9%) 0(0.0%) rewriter ...o-egg-herbie/src/core/matcher.rkt:90:2 for-loop [49] 100.0% -------------------------------------------------------------------- ival-sub [40] 100.0% [45] 184(4.9%) 0(0.0%) bfsub ...-lib/math/private/bigfloat/mpfr.rkt:835:4 new-mpfr [50] 100.0% -------------------------------------------------------------------- ??? [41] 100.0% [46] 184(4.9%) 0(0.0%) generic-sort/key .../racket/private/sort.rkt:156:2 copying-mergesort [51] 100.0% -------------------------------------------------------------------- egraph-add-exprs [42] 100.0% [47] 1298(34.4%) 0(0.0%) ??? ...e-to-egg-herbie/src/core/simplify.rkt:103:6 for-loop [52] 100.0% -------------------------------------------------------------------- errors [43] 100.0% [48] 564(15.0%) 196(5.2%) for-loop ...ore-to-egg-herbie/src/points.rkt:203:2 .../more-scheme.rkt:261:28 [6] 65.2% -------------------------------------------------------------------- rewriter [44] 100.0% [49] 224(5.9%) 0(0.0%) for-loop ...o-egg-herbie/src/core/matcher.rkt:92:4 matcher [54] 50.0% for-loop [53] 50.0% -------------------------------------------------------------------- bfsub [45] 100.0% [50] 184(4.9%) 184(4.9%) new-mpfr ...b/math/private/bigfloat/mpfr.rkt:348:0 -------------------------------------------------------------------- generic-sort/key [46] 25.0% copying-mergesort [51] 75.0% [51] 184(4.9%) 0(0.0%) copying-mergesort ...racket/private/sort.rkt:129:8 copying-mergesort [51] 75.0% jloop [55] 25.0% -------------------------------------------------------------------- ??? [47] 100.0% [52] 1298(34.4%) 1298(34.4%) for-loop ...egg-herbie/src/core/simplify.rkt:122:2 -------------------------------------------------------------------- for-loop [49] 100.0% [53] 224(5.9%) 0(0.0%) for-loop ...o-egg-herbie/src/core/matcher.rkt:99:8 fix-up-variables [57] 100.0% -------------------------------------------------------------------- for-loop [4] 50.0% for-loop [49] 50.0% [54] 224(5.9%) 0(0.0%) matcher ...o-egg-herbie/src/core/matcher.rkt:118:2 ??? [2] 50.0% rewriter [44] 50.0% -------------------------------------------------------------------- copying-mergesort [51] 100.0% [55] 184(4.9%) 0(0.0%) jloop ...5/collects/racket/private/sort.rkt:120:23 ??? [56] 100.0% -------------------------------------------------------------------- jloop [55] 16.3% ??? [27] 17.3% ??? [24] 17.8% ??? [18] 48.6% [56] 1132(30.0%) 582(15.4%) ??? ...tract/private/arrow-higher-order.rkt:375:33 sample-multi-bounded [58] 48.6% -------------------------------------------------------------------- for-loop [53] 100.0% [57] 224(5.9%) 0(0.0%) fix-up-variables ...bie/src/core/matcher.rkt:111:2 pattern-match [59] 100.0% -------------------------------------------------------------------- ??? [56] 100.0% [58] 550(14.6%) 182(4.8%) sample-multi-bounded ...herbie/src/points.rkt:15:0 random-ranges [60] 66.9% -------------------------------------------------------------------- fix-up-variables [57] 100.0% [59] 224(5.9%) 0(0.0%) pattern-match ...-herbie/src/core/matcher.rkt:30:0 for-loop [61] 100.0% -------------------------------------------------------------------- sample-multi-bounded [58] 100.0% [60] 368(9.8%) 184(4.9%) random-ranges ...o-egg-herbie/src/common.rkt:171:0 cons/c [63] 50.0% -------------------------------------------------------------------- pattern-match [59] 100.0% [61] 224(5.9%) 0(0.0%) for-loop ...o-egg-herbie/src/core/matcher.rkt:27:9 core457 [62] 100.0% -------------------------------------------------------------------- for-loop [61] 100.0% [62] 224(5.9%) 0(0.0%) core457 ...acket/contract/private/arr-i.rkt:976:19 un-dep/maybe-chaperone [64] 100.0% -------------------------------------------------------------------- random-ranges [60] 100.0% [63] 184(4.9%) 0(0.0%) cons/c .../racket/contract/private/guts.rkt:500:15 coerce-contract [65] 100.0% -------------------------------------------------------------------- core457 [62] 100.0% [64] 224(5.9%) 0(0.0%) un-dep/maybe-chaperone ...private/arr-i.rkt:1137:2 ??? [66] 100.0% -------------------------------------------------------------------- cons/c [63] 100.0% [65] 184(4.9%) 0(0.0%) coerce-contract ...contract/private/guts.rkt:307:0 coerce-contract/f [67] 100.0% -------------------------------------------------------------------- un-dep/maybe-chaperone [64] 100.0% [66] 224(5.9%) 0(0.0%) ??? ...cts/racket/contract/private/guts.rkt:835:10 ??? [68] 100.0% -------------------------------------------------------------------- coerce-contract [65] 100.0% [67] 184(4.9%) 0(0.0%) coerce-contract/f ...ntract/private/guts.rkt:372:0 coerce-simple-value [69] 100.0% -------------------------------------------------------------------- ??? [66] 100.0% [68] 224(5.9%) 224(5.9%) ??? ...ntract/private/arrow-higher-order.rkt:575:2 -------------------------------------------------------------------- coerce-contract/f [67] 100.0% [69] 184(4.9%) 184(4.9%) coerce-simple-value ...ract/private/guts.rkt:385:0 --------------------------------------------------------------------