Profiling results ----------------- Total cpu time observed: 3894ms (out of 4028ms) Number of samples taken: 20 (once every 195ms) ==================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ==================================================================== [1] 3894(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [4] 100.0% -------------------------------------------------------------------- matcher [57] 100.0% [2] 438(11.2%) 0(0.0%) ??? ...bie/egg-cleanup/src/core/matcher.rkt:130:11 for-loop [5] 100.0% -------------------------------------------------------------------- ??? [50] 100.0% [3] 288(7.4%) 0(0.0%) approximate9 ...g-cleanup/src/core/taylor.rkt:12:0 loop [6] 100.0% -------------------------------------------------------------------- ??? [1] 100.0% [4] 3894(100.0%) 0(0.0%) profile-thunk16 ...e/pkgs/profile-lib/main.rkt:9:0 run [7] 100.0% -------------------------------------------------------------------- ??? [2] 100.0% [5] 438(11.2%) 0(0.0%) for-loop ...gg-cleanup/src/core/matcher.rkt:132:15 matcher [57] 100.0% -------------------------------------------------------------------- approximate9 [3] 100.0% [6] 288(7.4%) 0(0.0%) loop ...erbie/egg-cleanup/src/core/taylor.rkt:87:4 hash-ref! [8] 100.0% -------------------------------------------------------------------- profile-thunk16 [4] 100.0% [7] 3894(100.0%) 0(0.0%) run ...et-7.5/share/pkgs/profile-lib/main.rkt:39:2 .../more-scheme.rkt:261:28 [9] 100.0% -------------------------------------------------------------------- ??? [11] 33.3% ??? [50] 33.3% loop [6] 33.3% [8] 288(7.4%) 0(0.0%) hash-ref! .../racket/private/more-scheme.rkt:376:2 ??? [12] 33.3% ??? [11] 33.3% simplify* [10] 33.3% -------------------------------------------------------------------- for-loop [64] 2.7% run [7] 97.3% [9] 3894(100.0%) 0(0.0%) .../more-scheme.rkt:261:28 (unknown source) prepare-points-intervals [13] 48.0% run-improve47 [14] 44.9% oracle-error [15] 4.4% ??? [27] 2.7% -------------------------------------------------------------------- hash-ref! [8] 100.0% [10] 288(7.4%) 288(7.4%) simplify* .../egg-cleanup/src/core/reduce.rkt:29:0 -------------------------------------------------------------------- hash-ref! [8] 100.0% [11] 288(7.4%) 0(0.0%) ??? ...erbie/egg-cleanup/src/core/taylor.rkt:45:15 hash-ref! [8] 100.0% -------------------------------------------------------------------- hash-ref! [8] 100.0% [12] 288(7.4%) 0(0.0%) ??? ...erbie/egg-cleanup/src/core/taylor.rkt:68:15 ??? [50] 100.0% -------------------------------------------------------------------- .../more-scheme.rkt:261:28 [9] 100.0% [13] 1868(48.0%) 0(0.0%) prepare-points-intervals ...p/src/points.rkt:110:0 loop [16] 100.0% -------------------------------------------------------------------- .../more-scheme.rkt:261:28 [9] 100.0% [14] 1854(47.6%) 0(0.0%) run-improve47 ...gg-cleanup/src/mainloop.rkt:346:0 for-loop [17] 100.0% -------------------------------------------------------------------- .../more-scheme.rkt:261:28 [9] 100.0% [15] 172(4.4%) 0(0.0%) oracle-error ...e/egg-cleanup/src/points.rkt:188:0 for-loop [18] 100.0% -------------------------------------------------------------------- prepare-points-intervals [13] 100.0% [16] 1868(48.0%) 0(0.0%) loop ...es/herbie/egg-cleanup/src/points.rkt:123:4 ??? [20] 63.2% loop [21] 19.8% do-curry [28] 8.9% ival-eval13 [23] 8.1% -------------------------------------------------------------------- run-improve47 [14] 100.0% [17] 1854(47.6%) 0(0.0%) for-loop ...bie/egg-cleanup/src/mainloop.rkt:365:4 run-iter! [19] 100.0% -------------------------------------------------------------------- oracle-error [15] 100.0% [18] 172(4.4%) 0(0.0%) for-loop ...erbie/egg-cleanup/src/points.rkt:189:2 map [22] 100.0% -------------------------------------------------------------------- for-loop [17] 100.0% [19] 1854(47.6%) 0(0.0%) run-iter! ...ie/egg-cleanup/src/mainloop.rkt:327:0 simplify! [24] 26.1% gen-rewrites! [25] 23.6% finalize-iter! [26] 23.2% gen-series! [29] 15.5% choose-best-alt! [30] 11.5% -------------------------------------------------------------------- loop [16] 100.0% [20] 1180(30.3%) 548(14.1%) ??? ...ies/herbie/egg-cleanup/src/points.rkt:106:2 ??? [50] 26.6% ??? [32] 13.9% do-curry [28] 13.1% -------------------------------------------------------------------- loop [16] 100.0% [21] 370(9.5%) 184(4.7%) loop ...ies/herbie/egg-cleanup/src/points.rkt:81:2 ??? [27] 50.3% -------------------------------------------------------------------- for-loop [18] 100.0% [22] 172(4.4%) 0(0.0%) map ...t-7.5/collects/racket/private/map.rkt:35:13 ??? [31] 100.0% -------------------------------------------------------------------- loop [16] 100.0% [23] 152(3.9%) 152(3.9%) ival-eval13 ...bie/egg-cleanup/src/points.rkt:79:0 -------------------------------------------------------------------- run-iter! [19] 100.0% [24] 484(12.4%) 0(0.0%) simplify! ...ie/egg-cleanup/src/mainloop.rkt:224:0 ??? [33] 100.0% -------------------------------------------------------------------- run-iter! [19] 100.0% [25] 438(11.2%) 0(0.0%) gen-rewrites! ...gg-cleanup/src/mainloop.rkt:183:0 for-loop [34] 100.0% -------------------------------------------------------------------- run-iter! [19] 100.0% [26] 430(11.0%) 0(0.0%) finalize-iter! ...g-cleanup/src/mainloop.rkt:278:0 ??? [35] 100.0% -------------------------------------------------------------------- loop [21] 47.2% .../more-scheme.rkt:261:28 [9] 52.8% [27] 394(10.1%) 0(0.0%) ??? ...s/herbie/egg-cleanup/src/programs.rkt:115:2 ??? [38] 52.8% ??? [50] 47.2% -------------------------------------------------------------------- ??? [20] 48.1% loop [16] 51.9% [28] 320(8.2%) 320(8.2%) do-curry ...-7.5/collects/racket/function.rkt:71:2 -------------------------------------------------------------------- run-iter! [19] 100.0% [29] 288(7.4%) 0(0.0%) gen-series! .../egg-cleanup/src/mainloop.rkt:160:0 for-loop [36] 100.0% -------------------------------------------------------------------- run-iter! [19] 100.0% [30] 214(5.5%) 0(0.0%) choose-best-alt! ...cleanup/src/mainloop.rkt:117:0 ...ow-val-first.rkt:486:18 [37]100.0% -------------------------------------------------------------------- map [22] 100.0% [31] 172(4.4%) 0(0.0%) ??? ...es/herbie/egg-cleanup/src/points.rkt:190:26 ulp-difference [39] 100.0% -------------------------------------------------------------------- ??? [20] 100.0% [32] 164(4.2%) 164(4.2%) ??? ...ects/racket/contract/private/prop.rkt:567:4 -------------------------------------------------------------------- simplify! [24] 100.0% [33] 484(12.4%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/simplify.rkt:35:0 egraph-run [40] 100.0% -------------------------------------------------------------------- gen-rewrites! [25] 100.0% [34] 438(11.2%) 0(0.0%) for-loop ...ie/egg-cleanup/src/mainloop.rkt:191:11 rewrite-expression-head20 [41] 100.0% -------------------------------------------------------------------- finalize-iter! [26] 100.0% [35] 430(11.0%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:486:18 for-loop [42] 100.0% -------------------------------------------------------------------- gen-series! [29] 100.0% [36] 288(7.4%) 0(0.0%) for-loop ...bie/egg-cleanup/src/mainloop.rkt:167:7 taylor-alt [43] 100.0% -------------------------------------------------------------------- choose-best-alt! [30] 100.0% [37] 214(5.5%) 0(0.0%) ...ow-val-first.rkt:486:18 (unknown source) ??? [44] 100.0% -------------------------------------------------------------------- ??? [27] 100.0% [38] 208(5.3%) 208(5.3%) ??? ...ie/egg-cleanup/src/syntax/syntax.rkt:214:17 -------------------------------------------------------------------- ??? [31] 100.0% [39] 172(4.4%) 172(4.4%) ulp-difference ...e/egg-cleanup/src/float.rkt:20:0 -------------------------------------------------------------------- ??? [33] 100.0% [40] 484(12.4%) 0(0.0%) egraph-run ...gg-cleanup/src/core/eggmath.rkt:51:0 egraph-add-exprs [45] 100.0% -------------------------------------------------------------------- for-loop [34] 100.0% [41] 438(11.2%) 0(0.0%) rewrite-expression-head20 ...core/matcher.rkt:87:0 rewriter [46] 100.0% -------------------------------------------------------------------- ??? [35] 100.0% [42] 430(11.0%) 0(0.0%) for-loop ...gg-cleanup/src/core/alt-table.rkt:55:2 atab-add-altn [47] 100.0% -------------------------------------------------------------------- for-loop [36] 100.0% [43] 288(7.4%) 0(0.0%) taylor-alt ...e/egg-cleanup/src/mainloop.rkt:146:0 for-loop [48] 100.0% -------------------------------------------------------------------- ...ow-val-first.rkt:486:18 [37]100.0% [44] 214(5.5%) 0(0.0%) ??? ...bie/egg-cleanup/src/core/alt-table.rkt:58:0 argmin [49] 100.0% -------------------------------------------------------------------- egraph-run [40] 100.0% [45] 484(12.4%) 0(0.0%) egraph-add-exprs ...nup/src/core/eggmath.rkt:113:0 ??? [51] 100.0% -------------------------------------------------------------------- rewrite-expression-head20 [41] 33.3% matcher [57] 66.7% [46] 438(11.2%) 0(0.0%) rewriter .../egg-cleanup/src/core/matcher.rkt:90:2 for-loop [53] 66.7% *rules* [52] 33.3% -------------------------------------------------------------------- for-loop [42] 100.0% [47] 430(11.0%) 0(0.0%) atab-add-altn ...anup/src/core/alt-table.rkt:203:0 loop [54] 51.6% errors [58] 48.4% -------------------------------------------------------------------- taylor-alt [43] 100.0% [48] 288(7.4%) 0(0.0%) for-loop ...bie/egg-cleanup/src/mainloop.rkt:152:6 ??? [50] 100.0% -------------------------------------------------------------------- ??? [44] 100.0% [49] 214(5.5%) 0(0.0%) argmin ...acket-7.5/collects/racket/list.rkt:765:0 ??? [55] 100.0% -------------------------------------------------------------------- ??? [12] 12.2% location-do [60] 12.2% for-loop [48] 12.2% ??? [27] 23.6% ??? [20] 39.8% [50] 788(20.2%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:375:33 sample-multi-bounded [59] 39.8% mk-ival [61] 23.6% location-do [60] 12.2% approximate9 [3] 12.2% hash-ref! [8] 12.2% -------------------------------------------------------------------- egraph-add-exprs [45] 100.0% [51] 484(12.4%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/simplify.rkt:93:6 for-loop [56] 100.0% -------------------------------------------------------------------- rewriter [46] 100.0% [52] 438(11.2%) 0(0.0%) *rules* .../egg-cleanup/src/syntax/rules.rkt:666:0 for-loop [76] 100.0% -------------------------------------------------------------------- rewriter [46] 100.0% [53] 438(11.2%) 0(0.0%) for-loop .../egg-cleanup/src/core/matcher.rkt:92:4 matcher [57] 100.0% -------------------------------------------------------------------- atab-add-altn [47] 100.0% [54] 222(5.7%) 222(5.7%) loop ...-7.5/collects/racket/private/hash.rkt:20:4 -------------------------------------------------------------------- argmin [49] 100.0% [55] 214(5.5%) 0(0.0%) ??? .../herbie/egg-cleanup/src/mainloop.rkt:114:10 errors [58] 100.0% -------------------------------------------------------------------- ??? [51] 100.0% [56] 484(12.4%) 484(12.4%) for-loop ...gg-cleanup/src/core/simplify.rkt:112:2 -------------------------------------------------------------------- for-loop [5] 50.0% for-loop [53] 50.0% [57] 438(11.2%) 0(0.0%) matcher .../egg-cleanup/src/core/matcher.rkt:118:2 ??? [2] 50.0% rewriter [46] 50.0% -------------------------------------------------------------------- atab-add-altn [47] 49.3% ??? [55] 50.7% [58] 422(10.8%) 0(0.0%) errors .../herbie/egg-cleanup/src/points.rkt:201:0 eval-prog [63] 50.7% for-loop [64] 49.3% -------------------------------------------------------------------- ??? [50] 100.0% [59] 314(8.1%) 0(0.0%) sample-multi-bounded ...leanup/src/points.rkt:15:0 random-ranges [62] 100.0% -------------------------------------------------------------------- location-do [60] 50.0% ??? [50] 50.0% [60] 288(7.4%) 0(0.0%) location-do ...e/egg-cleanup/src/programs.rkt:64:0 location-do [60] 50.0% ??? [50] 50.0% -------------------------------------------------------------------- ??? [50] 100.0% [61] 186(4.8%) 0(0.0%) mk-ival ...ie/egg-cleanup/src/biginterval.rkt:65:0 bf [65] 100.0% -------------------------------------------------------------------- sample-multi-bounded [59] 100.0% [62] 314(8.1%) 0(0.0%) random-ranges .../egg-cleanup/src/common.rkt:171:0 build--> [67] 52.2% cons/c [68] 47.8% -------------------------------------------------------------------- errors [58] 100.0% [63] 214(5.5%) 0(0.0%) eval-prog ...bie/egg-cleanup/src/programs.rkt:83:0 temp85_0 [66] 100.0% -------------------------------------------------------------------- errors [58] 100.0% [64] 208(5.3%) 0(0.0%) for-loop ...erbie/egg-cleanup/src/points.rkt:203:2 .../more-scheme.rkt:261:28 [9] 100.0% -------------------------------------------------------------------- mk-ival [61] 100.0% [65] 186(4.8%) 186(4.8%) bf ...ath-lib/math/private/bigfloat/mpfr.rkt:615:2 -------------------------------------------------------------------- eval-prog [63] 100.0% [66] 214(5.5%) 0(0.0%) temp85_0 (unknown source) compile15 [70] 100.0% -------------------------------------------------------------------- random-ranges [62] 100.0% [67] 164(4.2%) 0(0.0%) build--> ...act/private/arrow-val-first.rkt:1214:0 coerce-contract [69] 100.0% -------------------------------------------------------------------- random-ranges [62] 100.0% [68] 150(3.9%) 0(0.0%) cons/c .../racket/contract/private/guts.rkt:500:15 coerce-contract [69] 100.0% -------------------------------------------------------------------- cons/c [68] 47.8% build--> [67] 52.2% [69] 314(8.1%) 0(0.0%) coerce-contract ...contract/private/guts.rkt:307:0 coerce-contract/f [71] 100.0% -------------------------------------------------------------------- temp85_0 [66] 100.0% [70] 214(5.5%) 0(0.0%) compile15 (unknown source) temp91_0 [72] 100.0% -------------------------------------------------------------------- coerce-contract [69] 100.0% [71] 314(8.1%) 0(0.0%) coerce-contract/f ...ntract/private/guts.rkt:372:0 coerce-simple-value [73] 100.0% -------------------------------------------------------------------- compile15 [70] 100.0% [72] 214(5.5%) 0(0.0%) temp91_0 (unknown source) compile-top9 [74] 100.0% -------------------------------------------------------------------- coerce-contract/f [71] 100.0% [73] 314(8.1%) 314(8.1%) coerce-simple-value ...ract/private/guts.rkt:385:0 -------------------------------------------------------------------- temp91_0 [72] 100.0% [74] 214(5.5%) 0(0.0%) compile-top9 (unknown source) compile-forms33 [75] 100.0% -------------------------------------------------------------------- compile-top9 [74] 100.0% [75] 214(5.5%) 0(0.0%) compile-forms33 (unknown source) for-loop [76] 100.0% -------------------------------------------------------------------- compile-forms33 [75] 32.8% *rules* [52] 67.2% [76] 652(16.7%) 216(5.5%) for-loop (unknown source) ormap [77] 34.0% compile-module-linklet57 [78] 32.8% -------------------------------------------------------------------- for-loop [76] 100.0% [77] 222(5.7%) 0(0.0%) ormap ....5/collects/racket/private/map.rkt:141:13 flag-set? [79] 100.0% -------------------------------------------------------------------- for-loop [76] 100.0% [78] 214(5.5%) 214(5.5%) compile-module-linklet57 (unknown source) -------------------------------------------------------------------- ormap [77] 100.0% [79] 222(5.7%) 0(0.0%) flag-set? ...erbie/egg-cleanup/src/config.rkt:28:0 return/no-unsupplied [80] 100.0% -------------------------------------------------------------------- flag-set? [79] 100.0% [80] 222(5.7%) 222(5.7%) return/no-unsupplied ...ct/private/arr-i.rkt:566:0 --------------------------------------------------------------------