Profiling results ----------------- Total cpu time observed: 4476ms (out of 4652ms) Number of samples taken: 23 (once every 195ms) ==================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ==================================================================== [1] 4476(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [7] 100.0% -------------------------------------------------------------------- matcher [48] 100.0% [2] 240(5.4%) 0(0.0%) ??? ...bie/egg-cleanup/src/core/matcher.rkt:130:11 for-loop [8] 100.0% -------------------------------------------------------------------- hash-ref! [53] 100.0% [3] 224(5.0%) 0(0.0%) ??? ...erbie/egg-cleanup/src/core/taylor.rkt:68:15 hash-ref! [53] 80.0% ??? [45] 20.0% -------------------------------------------------------------------- map [9] 50.0% hash-ref! [53] 50.0% [4] 224(5.0%) 0(0.0%) f41 (unknown source) map [9] 100.0% -------------------------------------------------------------------- ??? [45] 100.0% [5] 224(5.0%) 0(0.0%) approximate9 ...g-cleanup/src/core/taylor.rkt:12:0 loop [10] 100.0% -------------------------------------------------------------------- hash-ref! [53] 100.0% [6] 224(5.0%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/taylor.rkt:291:26 for-loop [11] 100.0% -------------------------------------------------------------------- ??? [1] 100.0% [7] 4476(100.0%) 0(0.0%) profile-thunk16 ...e/pkgs/profile-lib/main.rkt:9:0 run [12] 100.0% -------------------------------------------------------------------- ??? [2] 100.0% [8] 240(5.4%) 0(0.0%) for-loop ...gg-cleanup/src/core/matcher.rkt:132:15 matcher [48] 100.0% -------------------------------------------------------------------- f41 [4] 100.0% [9] 224(5.0%) 0(0.0%) map ...t-7.5/collects/racket/private/map.rkt:35:13 f41 [4] 50.0% simplify* [13] 50.0% -------------------------------------------------------------------- approximate9 [5] 100.0% [10] 224(5.0%) 0(0.0%) loop ...erbie/egg-cleanup/src/core/taylor.rkt:87:4 hash-ref! [53] 100.0% -------------------------------------------------------------------- ??? [6] 100.0% [11] 224(5.0%) 0(0.0%) for-loop ...egg-cleanup/src/core/taylor.rkt:291:52 hash-ref! [53] 100.0% -------------------------------------------------------------------- profile-thunk16 [7] 100.0% [12] 4476(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% -------------------------------------------------------------------- map [9] 100.0% [13] 224(5.0%) 224(5.0%) simplify* .../egg-cleanup/src/core/reduce.rkt:29:0 -------------------------------------------------------------------- run [12] 100.0% [14] 4476(100.0%) 0(0.0%) .../more-scheme.rkt:261:28 (unknown source) prepare-points-intervals [15] 68.9% run-improve47 [16] 27.1% eval-errors [17] 3.9% -------------------------------------------------------------------- .../more-scheme.rkt:261:28 [14]100.0% [15] 3086(68.9%) 0(0.0%) prepare-points-intervals ...p/src/points.rkt:110:0 loop [18] 100.0% -------------------------------------------------------------------- .../more-scheme.rkt:261:28 [14]100.0% [16] 1214(27.1%) 0(0.0%) run-improve47 ...gg-cleanup/src/mainloop.rkt:346:0 for-loop [19] 100.0% -------------------------------------------------------------------- .../more-scheme.rkt:261:28 [14]100.0% [17] 176(3.9%) 0(0.0%) eval-errors ...ie/egg-cleanup/src/points.rkt:179:0 for-loop [20] 100.0% -------------------------------------------------------------------- prepare-points-intervals [15] 100.0% [18] 3086(68.9%) 202(4.5%) loop ...es/herbie/egg-cleanup/src/points.rkt:123:4 ??? [21] 65.1% loop [23] 23.0% loop [42] 5.4% -------------------------------------------------------------------- run-improve47 [16] 100.0% [19] 1214(27.1%) 0(0.0%) for-loop ...bie/egg-cleanup/src/mainloop.rkt:365:4 run-iter! [22] 100.0% -------------------------------------------------------------------- eval-errors [17] 100.0% [20] 176(3.9%) 0(0.0%) for-loop ...erbie/egg-cleanup/src/points.rkt:181:2 ??? [24] 100.0% -------------------------------------------------------------------- loop [18] 100.0% [21] 2008(44.9%) 156(3.5%) ??? ...ies/herbie/egg-cleanup/src/points.rkt:106:2 ??? [45] 46.0% loop [42] 37.1% ??? [29] 9.2% -------------------------------------------------------------------- for-loop [19] 100.0% [22] 1214(27.1%) 0(0.0%) run-iter! ...ie/egg-cleanup/src/mainloop.rkt:327:0 simplify! [25] 42.2% gen-rewrites! [26] 19.8% finalize-iter! [27] 19.6% gen-series! [28] 18.5% -------------------------------------------------------------------- loop [18] 100.0% [23] 710(15.9%) 182(4.1%) loop ...ies/herbie/egg-cleanup/src/points.rkt:81:2 ??? [24] 74.4% -------------------------------------------------------------------- for-loop [20] 25.0% loop [23] 75.0% [24] 704(15.7%) 176(3.9%) ??? ...s/herbie/egg-cleanup/src/programs.rkt:115:2 loop [42] 53.1% ??? [45] 21.9% -------------------------------------------------------------------- run-iter! [22] 100.0% [25] 512(11.4%) 0(0.0%) simplify! ...ie/egg-cleanup/src/mainloop.rkt:224:0 ??? [30] 100.0% -------------------------------------------------------------------- run-iter! [22] 100.0% [26] 240(5.4%) 0(0.0%) gen-rewrites! ...gg-cleanup/src/mainloop.rkt:183:0 for-loop [31] 100.0% -------------------------------------------------------------------- run-iter! [22] 100.0% [27] 238(5.3%) 0(0.0%) finalize-iter! ...g-cleanup/src/mainloop.rkt:278:0 ??? [32] 100.0% -------------------------------------------------------------------- run-iter! [22] 100.0% [28] 224(5.0%) 0(0.0%) gen-series! .../egg-cleanup/src/mainloop.rkt:160:0 for-loop [33] 100.0% -------------------------------------------------------------------- ??? [21] 100.0% [29] 184(4.1%) 184(4.1%) ??? ...cket-7.5/collects/racket/function.rkt:93:12 -------------------------------------------------------------------- simplify! [25] 100.0% [30] 512(11.4%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/simplify.rkt:35:0 egraph-run [34] 100.0% -------------------------------------------------------------------- gen-rewrites! [26] 100.0% [31] 240(5.4%) 0(0.0%) for-loop ...ie/egg-cleanup/src/mainloop.rkt:191:11 rewrite-expression-head20 [35] 100.0% -------------------------------------------------------------------- finalize-iter! [27] 100.0% [32] 238(5.3%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:486:18 for-loop [36] 100.0% -------------------------------------------------------------------- gen-series! [28] 100.0% [33] 224(5.0%) 0(0.0%) for-loop ...bie/egg-cleanup/src/mainloop.rkt:167:7 taylor-alt [37] 100.0% -------------------------------------------------------------------- ??? [30] 100.0% [34] 512(11.4%) 0(0.0%) egraph-run ...gg-cleanup/src/core/eggmath.rkt:51:0 egraph-add-exprs [38] 100.0% -------------------------------------------------------------------- for-loop [31] 100.0% [35] 240(5.4%) 0(0.0%) rewrite-expression-head20 ...core/matcher.rkt:87:0 rewriter [39] 100.0% -------------------------------------------------------------------- ??? [32] 100.0% [36] 238(5.3%) 0(0.0%) for-loop ...gg-cleanup/src/core/alt-table.rkt:55:2 loop [40] 100.0% -------------------------------------------------------------------- for-loop [33] 100.0% [37] 224(5.0%) 0(0.0%) taylor-alt ...e/egg-cleanup/src/mainloop.rkt:146:0 for-loop [41] 100.0% -------------------------------------------------------------------- egraph-run [34] 100.0% [38] 512(11.4%) 0(0.0%) egraph-add-exprs ...nup/src/core/eggmath.rkt:111:0 ??? [43] 100.0% -------------------------------------------------------------------- rewrite-expression-head20 [35] 25.0% matcher [48] 75.0% [39] 240(5.4%) 0(0.0%) rewriter .../egg-cleanup/src/core/matcher.rkt:90:2 for-loop [44] 100.0% -------------------------------------------------------------------- for-loop [36] 100.0% [40] 238(5.3%) 0(0.0%) loop ...e/egg-cleanup/src/core/alt-table.rkt:177:2 loop [42] 100.0% -------------------------------------------------------------------- taylor-alt [37] 100.0% [41] 224(5.0%) 0(0.0%) for-loop ...bie/egg-cleanup/src/mainloop.rkt:152:6 ??? [45] 100.0% -------------------------------------------------------------------- loop [18] 10.9% loop [40] 15.6% ??? [24] 24.6% ??? [21] 48.9% [42] 1522(34.0%) 600(13.4%) loop (unknown source) ??? [45] 60.6% -------------------------------------------------------------------- egraph-add-exprs [38] 100.0% [43] 512(11.4%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/simplify.rkt:93:6 for-loop [46] 100.0% -------------------------------------------------------------------- rewriter [39] 100.0% [44] 240(5.4%) 0(0.0%) for-loop .../egg-cleanup/src/core/matcher.rkt:92:4 matcher [48] 75.0% for-loop [47] 25.0% -------------------------------------------------------------------- ??? [3] 3.4% location-do [52] 3.4% for-loop [41] 3.4% ??? [24] 6.9% loop [42] 41.5% ??? [21] 41.5% [45] 2224(49.7%) 582(13.0%) ??? ...tract/private/arrow-higher-order.rkt:375:33 sample-multi-bounded [49] 48.8% mk-ival [50] 14.9% location-do [52] 3.4% approximate9 [5] 3.4% hash-ref! [53] 3.4% -------------------------------------------------------------------- ??? [43] 100.0% [46] 512(11.4%) 512(11.4%) for-loop ...gg-cleanup/src/core/simplify.rkt:112:2 -------------------------------------------------------------------- for-loop [44] 100.0% [47] 240(5.4%) 0(0.0%) for-loop .../egg-cleanup/src/core/matcher.rkt:99:8 fix-up-variables [51] 100.0% -------------------------------------------------------------------- for-loop [8] 50.0% for-loop [44] 50.0% [48] 240(5.4%) 0(0.0%) matcher .../egg-cleanup/src/core/matcher.rkt:118:2 ??? [2] 50.0% rewriter [39] 50.0% -------------------------------------------------------------------- ??? [45] 100.0% [49] 1086(24.3%) 330(7.4%) sample-multi-bounded ...leanup/src/points.rkt:15:0 random-ranges [54] 69.6% -------------------------------------------------------------------- ??? [45] 100.0% [50] 332(7.4%) 0(0.0%) mk-ival ...ie/egg-cleanup/src/biginterval.rkt:65:0 bf [55] 100.0% -------------------------------------------------------------------- for-loop [47] 100.0% [51] 240(5.4%) 0(0.0%) fix-up-variables ...nup/src/core/matcher.rkt:111:2 for-loop [56] 100.0% -------------------------------------------------------------------- ??? [45] 100.0% [52] 224(5.0%) 0(0.0%) location-do ...e/egg-cleanup/src/programs.rkt:64:0 ??? [45] 100.0% -------------------------------------------------------------------- ??? [57] 10.0% ??? [58] 10.0% ??? [45] 10.0% loop [10] 10.0% for-loop [11] 20.0% ??? [3] 40.0% [53] 224(5.0%) 0(0.0%) hash-ref! .../racket/private/more-scheme.rkt:376:2 ??? [3] 50.0% ??? [6] 20.0% ??? [58] 10.0% ??? [57] 10.0% f41 [4] 10.0% -------------------------------------------------------------------- sample-multi-bounded [49] 100.0% [54] 756(16.9%) 0(0.0%) random-ranges .../egg-cleanup/src/common.rkt:171:0 build--> [59] 50.8% cons/c [62] 24.6% assoc-iterate-first [61] 24.6% -------------------------------------------------------------------- mk-ival [50] 100.0% [55] 332(7.4%) 0(0.0%) bf ...ath-lib/math/private/bigfloat/mpfr.rkt:615:2 new-mpfr [63] 53.6% ??? [64] 46.4% -------------------------------------------------------------------- fix-up-variables [51] 100.0% [56] 240(5.4%) 0(0.0%) for-loop .../egg-cleanup/src/core/matcher.rkt:42:9 for-loop [60] 100.0% -------------------------------------------------------------------- hash-ref! [53] 100.0% [57] 224(5.0%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/taylor.rkt:328:33 hash-ref! [53] 100.0% -------------------------------------------------------------------- hash-ref! [53] 100.0% [58] 224(5.0%) 0(0.0%) ??? ...erbie/egg-cleanup/src/core/taylor.rkt:45:15 hash-ref! [53] 100.0% -------------------------------------------------------------------- random-ranges [54] 100.0% [59] 384(8.6%) 0(0.0%) build--> ...act/private/arrow-val-first.rkt:1214:0 coerce-contract [65] 100.0% -------------------------------------------------------------------- for-loop [56] 100.0% [60] 240(5.4%) 0(0.0%) for-loop .../egg-cleanup/src/core/matcher.rkt:27:9 core457 [66] 100.0% -------------------------------------------------------------------- random-ranges [54] 100.0% [61] 186(4.2%) 186(4.2%) assoc-iterate-first ...cket/private/dict.rkt:166:0 -------------------------------------------------------------------- random-ranges [54] 100.0% [62] 186(4.2%) 0(0.0%) cons/c .../racket/contract/private/guts.rkt:500:15 coerce-contract [65] 100.0% -------------------------------------------------------------------- bf [55] 100.0% [63] 178(4.0%) 178(4.0%) new-mpfr ...b/math/private/bigfloat/mpfr.rkt:348:0 -------------------------------------------------------------------- bf [55] 100.0% [64] 154(3.4%) 154(3.4%) ??? /opt/racket-7.5/collects/ffi/unsafe.rkt:938:4 -------------------------------------------------------------------- cons/c [62] 32.6% build--> [59] 67.4% [65] 570(12.7%) 0(0.0%) coerce-contract ...contract/private/guts.rkt:307:0 coerce-contract/f [67] 100.0% -------------------------------------------------------------------- for-loop [60] 100.0% [66] 240(5.4%) 0(0.0%) core457 ...acket/contract/private/arr-i.rkt:976:19 arrow-higher-order:lnp [68] 100.0% -------------------------------------------------------------------- coerce-contract [65] 100.0% [67] 570(12.7%) 0(0.0%) coerce-contract/f ...ntract/private/guts.rkt:372:0 coerce-simple-value [69] 100.0% -------------------------------------------------------------------- core457 [66] 100.0% [68] 240(5.4%) 0(0.0%) arrow-higher-order:lnp ...w-higher-order.rkt:673:7 ??? [70] 100.0% -------------------------------------------------------------------- coerce-contract/f [67] 100.0% [69] 570(12.7%) 570(12.7%) coerce-simple-value ...ract/private/guts.rkt:385:0 -------------------------------------------------------------------- arrow-higher-order:lnp [68] 100.0% [70] 240(5.4%) 240(5.4%) ??? ...et/contract/private/arity-checking.rkt:19:2 --------------------------------------------------------------------