Profiling results ----------------- Total cpu time observed: 5004ms (out of 5552ms) Number of samples taken: 32 (once every 156ms) =================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee =================================================================== [1] 5004(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [3] 100.0% ------------------------------------------------------------------- matcher [55] 100.0% [2] 338(6.8%) 0(0.0%) ??? ...ction-both-ends/src/core/matcher.rkt:127:11 for-loop [4] 100.0% ------------------------------------------------------------------- ??? [1] 100.0% [3] 5004(100.0%) 0(0.0%) profile-thunk16 ...e/pkgs/profile-lib/main.rkt:9:0 run [5] 100.0% ------------------------------------------------------------------- ??? [2] 100.0% [4] 338(6.8%) 0(0.0%) for-loop ...-both-ends/src/core/matcher.rkt:129:15 matcher [55] 100.0% ------------------------------------------------------------------- profile-thunk16 [3] 100.0% [5] 5004(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 [12] 1.6% run [5] 98.4% [6] 5004(100.0%) 156(3.1%) .../more-scheme.rkt:261:28 (unknown source) prepare-points-intervals [10] 70.0% run-improve47 [7] 23.9% eval-errors [9] 3.0% errors [8] 1.6% ------------------------------------------------------------------- .../more-scheme.rkt:261:28 [6]100.0% [7] 1196(23.9%) 0(0.0%) run-improve47 ...-both-ends/src/mainloop.rkt:346:0 for-loop [11] 56.4% simplify! [17] 28.6% prepare-points-intervals [10] 15.1% ------------------------------------------------------------------- .../more-scheme.rkt:261:28 [6]100.0% [8] 156(3.1%) 0(0.0%) errors ...detection-both-ends/src/points.rkt:202:0 for-loop [12] 100.0% ------------------------------------------------------------------- .../more-scheme.rkt:261:28 [6]100.0% [9] 150(3.0%) 0(0.0%) eval-errors ...tion-both-ends/src/points.rkt:180:0 for-loop [13] 100.0% ------------------------------------------------------------------- run-improve47 [7] 4.9% .../more-scheme.rkt:261:28 [6] 95.1% [10] 3682(73.6%) 0(0.0%) prepare-points-intervals ...s/src/points.rkt:132:0 loop [14] 95.1% loop [25] 4.9% ------------------------------------------------------------------- run-improve47 [7] 100.0% [11] 674(13.5%) 0(0.0%) for-loop ...ction-both-ends/src/mainloop.rkt:365:4 run-iter! [15] 100.0% ------------------------------------------------------------------- errors [8] 100.0% [12] 156(3.1%) 0(0.0%) for-loop ...tection-both-ends/src/points.rkt:204:2 .../more-scheme.rkt:261:28 [6]100.0% ------------------------------------------------------------------- eval-errors [9] 100.0% [13] 150(3.0%) 150(3.0%) for-loop ...tection-both-ends/src/points.rkt:182:2 ------------------------------------------------------------------- prepare-points-intervals [10] 100.0% [14] 3502(70.0%) 0(0.0%) loop ...w-detection-both-ends/src/points.rkt:144:4 loop [16] 90.9% ??? [19] 9.1% ------------------------------------------------------------------- for-loop [11] 100.0% [15] 674(13.5%) 0(0.0%) run-iter! ...tion-both-ends/src/mainloop.rkt:327:0 gen-rewrites! [18] 50.1% simplify! [17] 27.6% finalize-iter! [20] 22.3% ------------------------------------------------------------------- loop [14] 100.0% [16] 3182(63.6%) 164(3.3%) loop ...ow-detection-both-ends/src/points.rkt:81:2 ??? [21] 75.9% real->precision [22] 18.9% ------------------------------------------------------------------- run-iter! [15] 35.2% run-improve47 [7] 64.8% [17] 528(10.6%) 0(0.0%) simplify! ...tion-both-ends/src/mainloop.rkt:224:0 ??? [23] 100.0% ------------------------------------------------------------------- run-iter! [15] 100.0% [18] 338(6.8%) 0(0.0%) gen-rewrites! ...-both-ends/src/mainloop.rkt:183:0 for-loop [24] 100.0% ------------------------------------------------------------------- loop [14] 100.0% [19] 320(6.4%) 0(0.0%) ??? ...ow-detection-both-ends/src/points.rkt:125:6 sample-multi-bounded [26] 51.9% loop [25] 48.1% ------------------------------------------------------------------- run-iter! [15] 100.0% [20] 150(3.0%) 0(0.0%) finalize-iter! ...both-ends/src/mainloop.rkt:278:0 ??? [27] 100.0% ------------------------------------------------------------------- loop [16] 100.0% [21] 2416(48.3%) 152(3.0%) ??? ...tract/private/arrow-higher-order.rkt:379:33 ival-add [28] 68.5% ival-sub [29] 25.2% ------------------------------------------------------------------- loop [16] 100.0% [22] 602(12.0%) 0(0.0%) real->precision ...oth-ends/src/programs.rkt:94:11 ??? [30] 100.0% ------------------------------------------------------------------- simplify! [17] 100.0% [23] 528(10.6%) 0(0.0%) ??? ...ection-both-ends/src/core/simplify.rkt:42:0 egraph-run [31] 100.0% ------------------------------------------------------------------- gen-rewrites! [18] 100.0% [24] 338(6.8%) 0(0.0%) for-loop ...tion-both-ends/src/mainloop.rkt:191:11 rewrite-expression-head24 [32]100.0% ------------------------------------------------------------------- loop [25] 18.0% expand-capturing-lifts [33] 18.0% prepare-points-intervals [10] 18.0% ??? [19] 46.1% [25] 334(6.7%) 154(3.1%) loop (unknown source) expand-capturing-lifts [33] 18.0% loop [25] 18.0% for-loop [34] 18.0% ------------------------------------------------------------------- ??? [19] 100.0% [26] 166(3.3%) 0(0.0%) sample-multi-bounded ...h-ends/src/points.rkt:14:0 random-ranges [35] 100.0% ------------------------------------------------------------------- finalize-iter! [20] 100.0% [27] 150(3.0%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:486:18 for-loop [36] 100.0% ------------------------------------------------------------------- ??? [21] 100.0% [28] 1656(33.1%) 298(6.0%) ival-add ...on-both-ends/src/biginterval.rkt:200:0 e-compute-no-check [37] 45.3% e-compute [38] 36.7% ------------------------------------------------------------------- ??? [21] 100.0% [29] 608(12.2%) 302(6.0%) ival-sub ...on-both-ends/src/biginterval.rkt:207:0 e-compute-no-check [37] 25.3% e-compute [38] 25.0% ------------------------------------------------------------------- real->precision [22] 100.0% [30] 602(12.0%) 300(6.0%) ??? ...tract/private/arrow-higher-order.rkt:375:33 bf [41] 50.2% ------------------------------------------------------------------- ??? [23] 100.0% [31] 528(10.6%) 0(0.0%) egraph-run .../pkgs/egg-herbie-linux/main.rkt:49:0 egraph-add-exprs [39] 100.0% ------------------------------------------------------------------- for-loop [24] 100.0% [32] 338(6.8%) 0(0.0%) rewrite-expression-head24 ...core/matcher.rkt:85:0 rewriter [40] 100.0% ------------------------------------------------------------------- loop [25] 100.0% [33] 180(3.6%) 0(0.0%) expand-capturing-lifts (unknown source) loop [25] 100.0% ------------------------------------------------------------------- run-module-instance!125 [43] 50.0% loop [25] 50.0% [34] 180(3.6%) 0(0.0%) for-loop (unknown source) run-module-instance!125 [43] 50.0% temp37_0 [42] 50.0% ------------------------------------------------------------------- sample-multi-bounded [26] 100.0% [35] 166(3.3%) 0(0.0%) random-ranges ...on-both-ends/src/common.rkt:164:0 cons/c [44] 100.0% ------------------------------------------------------------------- ??? [27] 100.0% [36] 150(3.0%) 0(0.0%) for-loop ...-both-ends/src/core/alt-table.rkt:46:2 loop [45] 100.0% ------------------------------------------------------------------- ival-sub [29] 17.0% ival-add [28] 83.0% [37] 904(18.1%) 0(0.0%) e-compute-no-check ...ds/src/biginterval.rkt:152:0 bfadd [46] 100.0% ------------------------------------------------------------------- ival-sub [29] 20.0% ival-add [28] 80.0% [38] 760(15.2%) 152(3.0%) e-compute ...n-both-ends/src/biginterval.rkt:160:0 bfadd [46] 80.0% ------------------------------------------------------------------- egraph-run [31] 100.0% [39] 528(10.6%) 0(0.0%) egraph-add-exprs ...gg-herbie-linux/main.rkt:111:0 ??? [47] 100.0% ------------------------------------------------------------------- rewrite-expression-head24 [32] 28.7% matcher [55] 71.3% [40] 338(6.8%) 188(3.8%) rewriter ...on-both-ends/src/core/matcher.rkt:87:2 for-loop [48] 86.1% ------------------------------------------------------------------- ??? [30] 100.0% [41] 302(6.0%) 0(0.0%) bf ...ath-lib/math/private/bigfloat/mpfr.rkt:615:2 new-mpfr [53] 50.3% ??? [52] 49.7% ------------------------------------------------------------------- for-loop [34] 100.0% [42] 180(3.6%) 0(0.0%) temp37_0 (unknown source) [running body] [49] 100.0% ------------------------------------------------------------------- for-loop [34] 100.0% [43] 180(3.6%) 0(0.0%) run-module-instance!125 (unknown source) for-loop [34] 100.0% ------------------------------------------------------------------- random-ranges [35] 100.0% [44] 166(3.3%) 0(0.0%) cons/c .../racket/contract/private/guts.rkt:500:15 coerce-contract [50] 100.0% ------------------------------------------------------------------- for-loop [36] 100.0% [45] 150(3.0%) 0(0.0%) loop ...ion-both-ends/src/core/alt-table.rkt:168:2 loop [51] 100.0% ------------------------------------------------------------------- e-compute [38] 40.2% e-compute-no-check [37] 59.8% [46] 1512(30.2%) 152(3.0%) bfadd ...-lib/math/private/bigfloat/mpfr.rkt:835:4 ??? [52] 50.3% new-mpfr [53] 39.7% ------------------------------------------------------------------- egraph-add-exprs [39] 100.0% [47] 528(10.6%) 0(0.0%) ??? ...ction-both-ends/src/core/simplify.rkt:102:6 for-loop [54] 65.9% egg-run-rules [57] 34.1% ------------------------------------------------------------------- rewriter [40] 100.0% [48] 338(6.8%) 0(0.0%) for-loop ...on-both-ends/src/core/matcher.rkt:89:4 matcher [55] 85.2% for-loop [59] 14.8% ------------------------------------------------------------------- temp37_0 [42] 100.0% [49] 180(3.6%) 0(0.0%) [running body] .../collects/racket/format.rkt":##f .get-syntax-literal! [56] 100.0% ------------------------------------------------------------------- cons/c [44] 100.0% [50] 166(3.3%) 0(0.0%) coerce-contract ...contract/private/guts.rkt:307:0 coerce-contract/f [58] 100.0% ------------------------------------------------------------------- loop [45] 5.0% loop [51] 95.0% [51] 150(3.0%) 150(3.0%) loop ...racket-7.5/collects/racket/list.rkt:434:28 loop [51] 95.0% ------------------------------------------------------------------- bf [41] 16.5% bfadd [46] 83.5% [52] 910(18.2%) 910(18.2%) ??? /opt/racket-7.5/collects/ffi/unsafe.rkt:938:4 ------------------------------------------------------------------- bf [41] 20.2% bfadd [46] 79.8% [53] 752(15.0%) 752(15.0%) new-mpfr ...b/math/private/bigfloat/mpfr.rkt:348:0 ------------------------------------------------------------------- ??? [47] 100.0% [54] 348(7.0%) 348(7.0%) for-loop ...-both-ends/src/core/simplify.rkt:121:2 ------------------------------------------------------------------- for-loop [4] 50.0% for-loop [48] 50.0% [55] 338(6.8%) 0(0.0%) matcher ...on-both-ends/src/core/matcher.rkt:115:2 ??? [2] 50.0% rewriter [40] 50.0% ------------------------------------------------------------------- [running body] [49] 100.0% [56] 180(3.6%) 0(0.0%) .get-syntax-literal! (unknown source) .deserialize-syntax [60] 100.0% ------------------------------------------------------------------- ??? [47] 100.0% [57] 180(3.6%) 0(0.0%) egg-run-rules ...-ends/src/core/simplify.rkt:108:0 make-ffi-rules [61] 100.0% ------------------------------------------------------------------- coerce-contract [50] 100.0% [58] 166(3.3%) 166(3.3%) coerce-contract/f ...ntract/private/guts.rkt:372:0 ------------------------------------------------------------------- for-loop [48] 100.0% [59] 150(3.0%) 0(0.0%) for-loop ...on-both-ends/src/core/matcher.rkt:96:8 fix-up-variables [62] 100.0% ------------------------------------------------------------------- .get-syntax-literal! [56] 100.0% [60] 180(3.6%) 180(3.6%) .deserialize-syntax (unknown source) ------------------------------------------------------------------- egg-run-rules [57] 100.0% [61] 180(3.6%) 0(0.0%) make-ffi-rules ...s/egg-herbie-linux/main.rkt:28:0 for-loop [63] 100.0% ------------------------------------------------------------------- for-loop [59] 100.0% [62] 150(3.0%) 0(0.0%) fix-up-variables ...nds/src/core/matcher.rkt:108:2 pattern-match [64] 100.0% ------------------------------------------------------------------- make-ffi-rules [61] 100.0% [63] 180(3.6%) 0(0.0%) for-loop ....5/pkgs/egg-herbie-linux/main.rkt:29:2 to-egg-pattern [65] 100.0% ------------------------------------------------------------------- fix-up-variables [62] 100.0% [64] 150(3.0%) 0(0.0%) pattern-match ...th-ends/src/core/matcher.rkt:29:0 for-loop [66] 100.0% ------------------------------------------------------------------- for-loop [63] 33.3% to-egg-pattern [65] 66.7% [65] 180(3.6%) 0(0.0%) to-egg-pattern ...ie-linux/to-egg-pattern.rkt:17:0 to-egg-pattern [65] 66.7% list-member? [67] 33.3% ------------------------------------------------------------------- pattern-match [64] 100.0% [66] 150(3.0%) 0(0.0%) for-loop ...on-both-ends/src/core/matcher.rkt:26:9 core457 [68] 100.0% ------------------------------------------------------------------- to-egg-pattern [65] 100.0% [67] 180(3.6%) 180(3.6%) list-member? ...llects/racket/private/set.rkt:24:0 ------------------------------------------------------------------- for-loop [66] 100.0% [68] 150(3.0%) 0(0.0%) core457 ...acket/contract/private/arr-i.rkt:976:19 ??? [69] 100.0% ------------------------------------------------------------------- core457 [68] 100.0% [69] 150(3.0%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:770:8 ??? [70] 100.0% ------------------------------------------------------------------- ??? [69] 100.0% [70] 150(3.0%) 150(3.0%) ??? /opt/racket-7.5/collects/racket/dict.rkt:11:8 -------------------------------------------------------------------