Profiling results ----------------- Total cpu time observed: 4766ms (out of 5044ms) Number of samples taken: 22 (once every 217ms) ==================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ==================================================================== [1] 4766(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [7] 100.0% -------------------------------------------------------------------- location-do [2] 50.0% ??? [49] 50.0% [2] 302(6.3%) 0(0.0%) location-do ...e/egg-cleanup/src/programs.rkt:64:0 location-do [2] 50.0% loop [8] 50.0% -------------------------------------------------------------------- hash-ref! [60] 100.0% [3] 302(6.3%) 0(0.0%) ??? ...erbie/egg-cleanup/src/core/taylor.rkt:68:15 hash-ref! [60] 66.7% ??? [49] 33.3% -------------------------------------------------------------------- ??? [49] 100.0% [4] 302(6.3%) 0(0.0%) approximate9 ...g-cleanup/src/core/taylor.rkt:12:0 loop [9] 100.0% -------------------------------------------------------------------- hash-ref! [60] 100.0% [5] 302(6.3%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/taylor.rkt:301:23 for-loop [11] 100.0% -------------------------------------------------------------------- hash-ref! [60] 100.0% [6] 302(6.3%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/taylor.rkt:291:26 for-loop [10] 100.0% -------------------------------------------------------------------- ??? [1] 100.0% [7] 4766(100.0%) 0(0.0%) profile-thunk16 ...e/pkgs/profile-lib/main.rkt:9:0 run [12] 100.0% -------------------------------------------------------------------- loop [8] 50.0% location-do [2] 50.0% [8] 302(6.3%) 0(0.0%) loop ...s/herbie/egg-cleanup/src/programs.rkt:73:4 loop [8] 50.0% ??? [49] 50.0% -------------------------------------------------------------------- approximate9 [4] 100.0% [9] 302(6.3%) 0(0.0%) loop ...erbie/egg-cleanup/src/core/taylor.rkt:87:4 hash-ref! [60] 100.0% -------------------------------------------------------------------- ??? [6] 100.0% [10] 302(6.3%) 0(0.0%) for-loop ...egg-cleanup/src/core/taylor.rkt:291:52 hash-ref! [60] 100.0% -------------------------------------------------------------------- ??? [5] 100.0% [11] 302(6.3%) 0(0.0%) for-loop ...egg-cleanup/src/core/taylor.rkt:304:27 hash-ref! [60] 100.0% -------------------------------------------------------------------- profile-thunk16 [7] 100.0% [12] 4766(100.0%) 0(0.0%) run ...et-7.5/share/pkgs/profile-lib/main.rkt:39:2 .../more-scheme.rkt:261:28 [13]100.0% -------------------------------------------------------------------- for-loop [58] 2.3% run [12] 97.7% [13] 4766(100.0%) 0(0.0%) .../more-scheme.rkt:261:28 (unknown source) prepare-points-intervals [14] 55.7% run-improve47 [15] 24.4% get-final-combination [16] 4.6% oracle-error [17] 4.4% eval-errors [18] 4.3% errors [52] 4.2% ??? [38] 2.3% -------------------------------------------------------------------- .../more-scheme.rkt:261:28 [13]100.0% [14] 2656(55.7%) 0(0.0%) prepare-points-intervals ...p/src/points.rkt:110:0 loop [19] 100.0% -------------------------------------------------------------------- .../more-scheme.rkt:261:28 [13]100.0% [15] 1276(26.8%) 0(0.0%) run-improve47 ...gg-cleanup/src/mainloop.rkt:346:0 for-loop [20] 82.1% simplify! [28] 17.9% -------------------------------------------------------------------- .../more-scheme.rkt:261:28 [13]100.0% [16] 220(4.6%) 0(0.0%) get-final-combination ...up/src/mainloop.rkt:371:0 infer-splitpoints [21] 100.0% -------------------------------------------------------------------- .../more-scheme.rkt:261:28 [13]100.0% [17] 208(4.4%) 0(0.0%) oracle-error ...e/egg-cleanup/src/points.rkt:188:0 for-loop [22] 100.0% -------------------------------------------------------------------- .../more-scheme.rkt:261:28 [13]100.0% [18] 206(4.3%) 0(0.0%) eval-errors ...ie/egg-cleanup/src/points.rkt:179:0 for-loop [23] 100.0% -------------------------------------------------------------------- prepare-points-intervals [14] 100.0% [19] 2656(55.7%) 0(0.0%) loop ...es/herbie/egg-cleanup/src/points.rkt:123:4 loop [24] 53.1% ??? [25] 46.9% -------------------------------------------------------------------- run-improve47 [15] 100.0% [20] 1048(22.0%) 0(0.0%) for-loop ...bie/egg-cleanup/src/mainloop.rkt:365:4 run-iter! [26] 100.0% -------------------------------------------------------------------- get-final-combination [16] 100.0% [21] 220(4.6%) 0(0.0%) infer-splitpoints ...nup/src/core/regimes.rkt:34:0 for-loop [27] 100.0% -------------------------------------------------------------------- oracle-error [17] 100.0% [22] 208(4.4%) 0(0.0%) for-loop ...erbie/egg-cleanup/src/points.rkt:189:2 loop [29] 100.0% -------------------------------------------------------------------- eval-errors [18] 100.0% [23] 206(4.3%) 0(0.0%) for-loop ...erbie/egg-cleanup/src/points.rkt:181:2 ??? [38] 100.0% -------------------------------------------------------------------- loop [19] 100.0% [24] 1410(29.6%) 0(0.0%) loop ...ies/herbie/egg-cleanup/src/points.rkt:81:2 ??? [38] 100.0% -------------------------------------------------------------------- loop [19] 100.0% [25] 1246(26.1%) 0(0.0%) ??? ...ies/herbie/egg-cleanup/src/points.rkt:106:2 ??? [49] 66.3% loop [29] 33.7% -------------------------------------------------------------------- for-loop [20] 100.0% [26] 1048(22.0%) 0(0.0%) run-iter! ...ie/egg-cleanup/src/mainloop.rkt:327:0 simplify! [28] 49.8% gen-series! [30] 28.8% finalize-iter! [31] 21.4% -------------------------------------------------------------------- infer-splitpoints [21] 100.0% [27] 220(4.6%) 0(0.0%) for-loop .../egg-cleanup/src/core/regimes.rkt:47:6 option-on-expr [32] 100.0% -------------------------------------------------------------------- run-improve47 [15] 30.4% run-iter! [26] 69.6% [28] 750(15.7%) 0(0.0%) simplify! ...ie/egg-cleanup/src/mainloop.rkt:224:0 ??? [33] 100.0% -------------------------------------------------------------------- for-loop [22] 33.1% ??? [25] 66.9% [29] 628(13.2%) 198(4.2%) loop (unknown source) ??? [49] 35.4% ??? [37] 33.1% -------------------------------------------------------------------- run-iter! [26] 100.0% [30] 302(6.3%) 0(0.0%) gen-series! .../egg-cleanup/src/mainloop.rkt:160:0 for-loop [34] 100.0% -------------------------------------------------------------------- run-iter! [26] 100.0% [31] 224(4.7%) 0(0.0%) finalize-iter! ...g-cleanup/src/mainloop.rkt:278:0 ??? [35] 100.0% -------------------------------------------------------------------- for-loop [27] 100.0% [32] 220(4.6%) 0(0.0%) option-on-expr ...eanup/src/core/regimes.rkt:126:0 err-lsts->split-indices [36] 100.0% -------------------------------------------------------------------- simplify! [28] 100.0% [33] 750(15.7%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/simplify.rkt:35:0 egraph-run [39] 100.0% -------------------------------------------------------------------- gen-series! [30] 100.0% [34] 302(6.3%) 0(0.0%) for-loop ...bie/egg-cleanup/src/mainloop.rkt:167:7 taylor-alt [40] 100.0% -------------------------------------------------------------------- finalize-iter! [31] 100.0% [35] 224(4.7%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:486:18 for-loop [41] 100.0% -------------------------------------------------------------------- option-on-expr [32] 100.0% [36] 220(4.6%) 0(0.0%) err-lsts->split-indices .../core/regimes.rkt:262:0 loop [42] 100.0% -------------------------------------------------------------------- loop [29] 100.0% [37] 208(4.4%) 0(0.0%) ??? ...es/herbie/egg-cleanup/src/points.rkt:190:26 ??? [38] 100.0% -------------------------------------------------------------------- for-loop [23] 10.1% ??? [37] 10.2% .../more-scheme.rkt:261:28 [13] 10.9% loop [24] 68.8% [38] 2048(43.0%) 432(9.1%) ??? ...s/herbie/egg-cleanup/src/programs.rkt:115:2 ??? [43] 39.3% ??? [49] 29.6% ??? [48] 10.1% -------------------------------------------------------------------- ??? [33] 100.0% [39] 750(15.7%) 0(0.0%) egraph-run ...gg-cleanup/src/core/eggmath.rkt:51:0 egraph-add-exprs [44] 100.0% -------------------------------------------------------------------- for-loop [34] 100.0% [40] 302(6.3%) 0(0.0%) taylor-alt ...e/egg-cleanup/src/mainloop.rkt:146:0 for-loop [45] 100.0% -------------------------------------------------------------------- ??? [35] 100.0% [41] 224(4.7%) 0(0.0%) for-loop ...gg-cleanup/src/core/alt-table.rkt:55:2 atab-add-altn [46] 100.0% -------------------------------------------------------------------- err-lsts->split-indices [36] 100.0% [42] 220(4.6%) 0(0.0%) loop ...bie/egg-cleanup/src/core/regimes.rkt:313:4 for-loop [47] 100.0% -------------------------------------------------------------------- ??? [38] 100.0% [43] 804(16.9%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:379:33 ival-sub [51] 75.1% ival-add [54] 24.9% -------------------------------------------------------------------- egraph-run [39] 100.0% [44] 750(15.7%) 0(0.0%) egraph-add-exprs ...nup/src/core/eggmath.rkt:111:0 ??? [50] 100.0% -------------------------------------------------------------------- taylor-alt [40] 100.0% [45] 302(6.3%) 0(0.0%) for-loop ...bie/egg-cleanup/src/mainloop.rkt:152:6 ??? [49] 100.0% -------------------------------------------------------------------- for-loop [41] 100.0% [46] 224(4.7%) 0(0.0%) atab-add-altn ...anup/src/core/alt-table.rkt:203:0 errors [52] 100.0% -------------------------------------------------------------------- loop [42] 100.0% [47] 220(4.6%) 0(0.0%) for-loop ...egg-cleanup/src/core/regimes.rkt:278:4 for-loop [53] 100.0% -------------------------------------------------------------------- ??? [38] 100.0% [48] 206(4.3%) 206(4.3%) ??? ...ie/egg-cleanup/src/syntax/syntax.rkt:214:17 -------------------------------------------------------------------- ??? [3] 5.1% loop [8] 5.1% for-loop [45] 5.1% loop [29] 11.3% ??? [38] 31.0% ??? [25] 42.2% [49] 1956(41.0%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:375:33 sample-multi-bounded [55] 53.6% ival-mult [59] 20.4% mk-ival [61] 10.5% location-do [2] 5.1% approximate9 [4] 5.1% hash-ref! [60] 5.1% -------------------------------------------------------------------- egraph-add-exprs [44] 100.0% [50] 750(15.7%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/simplify.rkt:93:6 for-loop [57] 100.0% -------------------------------------------------------------------- ??? [43] 100.0% [51] 604(12.7%) 0(0.0%) ival-sub .../egg-cleanup/src/biginterval.rkt:107:0 bfadd [56] 100.0% -------------------------------------------------------------------- .../more-scheme.rkt:261:28 [13] 47.2% atab-add-altn [46] 52.8% [52] 424(8.9%) 0(0.0%) errors .../herbie/egg-cleanup/src/points.rkt:201:0 for-loop [58] 100.0% -------------------------------------------------------------------- for-loop [47] 100.0% [53] 220(4.6%) 220(4.6%) for-loop ...egg-cleanup/src/core/regimes.rkt:282:8 -------------------------------------------------------------------- ??? [43] 100.0% [54] 200(4.2%) 0(0.0%) ival-add .../egg-cleanup/src/biginterval.rkt:101:0 bfadd [56] 100.0% -------------------------------------------------------------------- ??? [49] 100.0% [55] 1048(22.0%) 422(8.9%) sample-multi-bounded ...leanup/src/points.rkt:15:0 random-ranges [62] 59.7% -------------------------------------------------------------------- ival-add [54] 24.9% ival-sub [51] 75.1% [56] 804(16.9%) 200(4.2%) bfadd ...-lib/math/private/bigfloat/mpfr.rkt:835:4 ??? [63] 50.0% new-mpfr [69] 25.1% -------------------------------------------------------------------- ??? [50] 100.0% [57] 750(15.7%) 750(15.7%) for-loop ...gg-cleanup/src/core/simplify.rkt:112:2 -------------------------------------------------------------------- errors [52] 100.0% [58] 424(8.9%) 0(0.0%) for-loop ...erbie/egg-cleanup/src/points.rkt:203:2 .../more-scheme.rkt:261:28 [13] 52.8% ??? [67] 47.2% -------------------------------------------------------------------- ??? [49] 100.0% [59] 400(8.4%) 400(8.4%) ival-mult ...egg-cleanup/src/biginterval.rkt:119:0 -------------------------------------------------------------------- simplify* [64] 12.5% for-loop [11] 12.5% for-loop [10] 12.5% ??? [65] 12.5% ??? [49] 12.5% loop [9] 12.5% ??? [3] 25.0% [60] 302(6.3%) 302(6.3%) hash-ref! .../racket/private/more-scheme.rkt:376:2 ??? [3] 37.5% ??? [65] 12.5% ??? [6] 12.5% ??? [5] 12.5% simplify* [64] 12.5% -------------------------------------------------------------------- ??? [49] 100.0% [61] 206(4.3%) 0(0.0%) mk-ival ...ie/egg-cleanup/src/biginterval.rkt:65:0 bf [66] 100.0% -------------------------------------------------------------------- sample-multi-bounded [55] 100.0% [62] 626(13.1%) 0(0.0%) random-ranges .../egg-cleanup/src/common.rkt:171:0 build--> [68] 67.7% cons/c [70] 32.3% -------------------------------------------------------------------- bfadd [56] 100.0% [63] 402(8.4%) 402(8.4%) ??? /opt/racket-7.5/collects/ffi/unsafe.rkt:938:4 -------------------------------------------------------------------- hash-ref! [60] 100.0% [64] 302(6.3%) 0(0.0%) simplify* .../egg-cleanup/src/core/reduce.rkt:29:0 hash-ref! [60] 100.0% -------------------------------------------------------------------- hash-ref! [60] 100.0% [65] 302(6.3%) 0(0.0%) ??? ...erbie/egg-cleanup/src/core/taylor.rkt:45:15 hash-ref! [60] 100.0% -------------------------------------------------------------------- mk-ival [61] 100.0% [66] 206(4.3%) 0(0.0%) bf ...ath-lib/math/private/bigfloat/mpfr.rkt:615:2 new-mpfr [69] 100.0% -------------------------------------------------------------------- for-loop [58] 100.0% [67] 200(4.2%) 200(4.2%) ??? ...7.5/collects/racket/private/for.rkt:1236:14 -------------------------------------------------------------------- random-ranges [62] 100.0% [68] 424(8.9%) 202(4.2%) build--> ...act/private/arrow-val-first.rkt:1214:0 coerce-contract [71] 52.4% -------------------------------------------------------------------- bfadd [56] 49.5% bf [66] 50.5% [69] 408(8.6%) 408(8.6%) new-mpfr ...b/math/private/bigfloat/mpfr.rkt:348:0 -------------------------------------------------------------------- random-ranges [62] 100.0% [70] 202(4.2%) 0(0.0%) cons/c .../racket/contract/private/guts.rkt:500:15 coerce-contract [71] 100.0% -------------------------------------------------------------------- cons/c [70] 47.6% build--> [68] 52.4% [71] 424(8.9%) 0(0.0%) coerce-contract ...contract/private/guts.rkt:307:0 coerce-contract/f [72] 100.0% -------------------------------------------------------------------- coerce-contract [71] 100.0% [72] 424(8.9%) 0(0.0%) coerce-contract/f ...ntract/private/guts.rkt:372:0 coerce-simple-value [73] 100.0% -------------------------------------------------------------------- coerce-contract/f [72] 100.0% [73] 424(8.9%) 424(8.9%) coerce-simple-value ...ract/private/guts.rkt:385:0 --------------------------------------------------------------------