Profiling results ----------------- Total cpu time observed: 3634ms (out of 4412ms) Number of samples taken: 17 (once every 214ms) ==================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ==================================================================== [1] 3634(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [7] 100.0% -------------------------------------------------------------------- matcher [56] 100.0% [2] 222(6.1%) 0(0.0%) ??? ...on-ground-truth/src/core/matcher.rkt:129:11 for-loop [8] 100.0% -------------------------------------------------------------------- hash-ref! [58] 100.0% [3] 218(6.0%) 0(0.0%) ??? ...tion-ground-truth/src/core/taylor.rkt:67:15 hash-ref! [58] 50.0% ??? [45] 50.0% -------------------------------------------------------------------- ??? [45] 100.0% [4] 218(6.0%) 0(0.0%) approximate9 ...und-truth/src/core/taylor.rkt:11:0 loop [9] 100.0% -------------------------------------------------------------------- hash-ref! [58] 100.0% [5] 218(6.0%) 0(0.0%) f41 (unknown source) map [11] 100.0% -------------------------------------------------------------------- hash-ref! [58] 100.0% [6] 218(6.0%) 0(0.0%) ??? ...ion-ground-truth/src/core/taylor.rkt:290:26 for-loop [10] 100.0% -------------------------------------------------------------------- ??? [1] 100.0% [7] 3634(100.0%) 0(0.0%) profile-thunk16 ...e/pkgs/profile-lib/main.rkt:9:0 run [12] 100.0% -------------------------------------------------------------------- ??? [2] 100.0% [8] 222(6.1%) 0(0.0%) for-loop ...ound-truth/src/core/matcher.rkt:131:15 matcher [56] 100.0% -------------------------------------------------------------------- approximate9 [4] 100.0% [9] 218(6.0%) 0(0.0%) loop ...tion-ground-truth/src/core/taylor.rkt:86:4 hash-ref! [58] 100.0% -------------------------------------------------------------------- ??? [6] 100.0% [10] 218(6.0%) 0(0.0%) for-loop ...round-truth/src/core/taylor.rkt:290:52 hash-ref! [58] 100.0% -------------------------------------------------------------------- f41 [5] 100.0% [11] 218(6.0%) 0(0.0%) map ...t-7.5/collects/racket/private/map.rkt:35:13 parse-loop75 [13] 100.0% -------------------------------------------------------------------- profile-thunk16 [7] 100.0% [12] 3634(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 [11] 100.0% [13] 218(6.0%) 0(0.0%) parse-loop75 (unknown source) eval-const-expr [15] 100.0% -------------------------------------------------------------------- run [12] 100.0% [14] 3634(100.0%) 0(0.0%) .../more-scheme.rkt:261:28 (unknown source) prepare-points-intervals [18] 45.4% run-improve47 [16] 43.8% loop [51] 5.5% oracle-error [17] 5.3% -------------------------------------------------------------------- parse-loop75 [13] 100.0% [15] 218(6.0%) 0(0.0%) eval-const-expr ...nd-truth/src/programs.rkt:116:0 loop [51] 100.0% -------------------------------------------------------------------- .../more-scheme.rkt:261:28 [14]100.0% [16] 1592(43.8%) 0(0.0%) run-improve47 ...ound-truth/src/mainloop.rkt:347:0 for-loop [19] 85.2% prepare-points-intervals [18] 14.8% -------------------------------------------------------------------- .../more-scheme.rkt:261:28 [14]100.0% [17] 192(5.3%) 0(0.0%) oracle-error ...-ground-truth/src/points.rkt:192:0 for-loop [20] 100.0% -------------------------------------------------------------------- run-improve47 [16] 12.5% .../more-scheme.rkt:261:28 [14] 87.5% [18] 1886(51.9%) 0(0.0%) prepare-points-intervals ...h/src/points.rkt:114:0 loop [21] 87.5% eval-prog [62] 12.5% -------------------------------------------------------------------- run-improve47 [16] 100.0% [19] 1356(37.3%) 0(0.0%) for-loop ...on-ground-truth/src/mainloop.rkt:366:4 run-iter! [22] 100.0% -------------------------------------------------------------------- oracle-error [17] 100.0% [20] 192(5.3%) 0(0.0%) for-loop ...tion-ground-truth/src/points.rkt:193:2 argmin [23] 100.0% -------------------------------------------------------------------- prepare-points-intervals [18] 100.0% [21] 1650(45.4%) 0(0.0%) loop ...etection-ground-truth/src/points.rkt:127:4 loop [24] 62.3% ??? [26] 37.7% -------------------------------------------------------------------- for-loop [19] 100.0% [22] 1356(37.3%) 0(0.0%) run-iter! ...n-ground-truth/src/mainloop.rkt:328:0 simplify! [25] 52.2% gen-rewrites! [27] 16.4% gen-series! [28] 16.1% finalize-iter! [29] 15.3% -------------------------------------------------------------------- for-loop [20] 100.0% [23] 192(5.3%) 192(5.3%) argmin ...acket-7.5/collects/racket/list.rkt:765:0 -------------------------------------------------------------------- loop [21] 100.0% [24] 1028(28.3%) 0(0.0%) loop ...detection-ground-truth/src/points.rkt:82:2 ??? [30] 100.0% -------------------------------------------------------------------- run-iter! [22] 100.0% [25] 708(19.5%) 0(0.0%) simplify! ...n-ground-truth/src/mainloop.rkt:225:0 ??? [31] 100.0% -------------------------------------------------------------------- loop [21] 100.0% [26] 622(17.1%) 0(0.0%) ??? ...detection-ground-truth/src/points.rkt:110:2 ??? [45] 100.0% -------------------------------------------------------------------- run-iter! [22] 100.0% [27] 222(6.1%) 0(0.0%) gen-rewrites! ...ound-truth/src/mainloop.rkt:184:0 for-loop [32] 100.0% -------------------------------------------------------------------- run-iter! [22] 100.0% [28] 218(6.0%) 0(0.0%) gen-series! ...ground-truth/src/mainloop.rkt:161:0 for-loop [33] 100.0% -------------------------------------------------------------------- run-iter! [22] 100.0% [29] 208(5.7%) 0(0.0%) finalize-iter! ...und-truth/src/mainloop.rkt:279:0 ??? [34] 100.0% -------------------------------------------------------------------- loop [24] 100.0% [30] 1028(28.3%) 0(0.0%) ??? ...tection-ground-truth/src/programs.rkt:113:2 ??? [45] 58.8% ??? [36] 41.2% -------------------------------------------------------------------- simplify! [25] 100.0% [31] 708(19.5%) 0(0.0%) ??? ...ion-ground-truth/src/core/simplify.rkt:43:0 egraph-run [35] 100.0% -------------------------------------------------------------------- gen-rewrites! [27] 100.0% [32] 222(6.1%) 0(0.0%) for-loop ...n-ground-truth/src/mainloop.rkt:192:11 rewrite-expression-head20 [37] 100.0% -------------------------------------------------------------------- gen-series! [28] 100.0% [33] 218(6.0%) 0(0.0%) for-loop ...on-ground-truth/src/mainloop.rkt:168:7 taylor-alt [38] 100.0% -------------------------------------------------------------------- finalize-iter! [29] 100.0% [34] 208(5.7%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:486:18 for-loop [39] 100.0% -------------------------------------------------------------------- ??? [31] 100.0% [35] 708(19.5%) 0(0.0%) egraph-run .../pkgs/egg-herbie-linux/main.rkt:49:0 egraph-add-exprs [40] 100.0% -------------------------------------------------------------------- ??? [30] 100.0% [36] 424(11.7%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:379:33 ival-add [41] 100.0% -------------------------------------------------------------------- for-loop [32] 100.0% [37] 222(6.1%) 0(0.0%) rewrite-expression-head20 ...core/matcher.rkt:86:0 rewriter [42] 100.0% -------------------------------------------------------------------- for-loop [33] 100.0% [38] 218(6.0%) 0(0.0%) taylor-alt ...-ground-truth/src/mainloop.rkt:147:0 for-loop [43] 100.0% -------------------------------------------------------------------- ??? [34] 100.0% [39] 208(5.7%) 0(0.0%) for-loop ...ound-truth/src/core/alt-table.rkt:55:2 atab-add-altn [44] 100.0% -------------------------------------------------------------------- egraph-run [35] 100.0% [40] 708(19.5%) 0(0.0%) egraph-add-exprs ...gg-herbie-linux/main.rkt:111:0 ??? [46] 100.0% -------------------------------------------------------------------- ??? [36] 100.0% [41] 424(11.7%) 0(0.0%) ival-add ...ground-truth/src/biginterval.rkt:114:0 bfadd [47] 100.0% -------------------------------------------------------------------- rewrite-expression-head20 [37] 33.3% matcher [56] 66.7% [42] 222(6.1%) 0(0.0%) rewriter ...ground-truth/src/core/matcher.rkt:89:2 for-loop [48] 66.7% *rules* [49] 33.3% -------------------------------------------------------------------- taylor-alt [38] 100.0% [43] 218(6.0%) 0(0.0%) for-loop ...on-ground-truth/src/mainloop.rkt:153:6 ??? [45] 100.0% -------------------------------------------------------------------- for-loop [39] 100.0% [44] 208(5.7%) 0(0.0%) atab-add-altn ...ruth/src/core/alt-table.rkt:203:0 append-at-pnts [50] 100.0% -------------------------------------------------------------------- ??? [3] 5.0% location-do [57] 5.0% for-loop [43] 5.0% ??? [30] 41.8% ??? [26] 43.1% [45] 1444(39.7%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:375:33 sample-multi-bounded [52] 43.1% mk-ival [53] 41.8% location-do [57] 5.0% approximate9 [4] 5.0% hash-ref! [58] 5.0% -------------------------------------------------------------------- egraph-add-exprs [40] 100.0% [46] 708(19.5%) 0(0.0%) ??? ...on-ground-truth/src/core/simplify.rkt:103:6 for-loop [54] 69.8% egg-run-rules [59] 30.2% -------------------------------------------------------------------- ival-add [41] 100.0% [47] 424(11.7%) 0(0.0%) bfadd ...-lib/math/private/bigfloat/mpfr.rkt:835:4 ??? [55] 100.0% -------------------------------------------------------------------- rewriter [42] 100.0% [48] 222(6.1%) 0(0.0%) for-loop ...ground-truth/src/core/matcher.rkt:91:4 matcher [56] 100.0% -------------------------------------------------------------------- rewriter [42] 100.0% [49] 222(6.1%) 0(0.0%) *rules* ...ground-truth/src/syntax/rules.rkt:666:0 for-loop [80] 100.0% -------------------------------------------------------------------- atab-add-altn [44] 100.0% [50] 208(5.7%) 0(0.0%) append-at-pnts ...uth/src/core/alt-table.rkt:146:0 loop [51] 100.0% -------------------------------------------------------------------- append-at-pnts [50] 0.3% expand-capturing-lifts [75] 9.1% eval-prog [62] 9.1% .../more-scheme.rkt:261:28 [14] 23.2% eval-const-expr [15] 25.3% loop [51] 33.0% [51] 862(23.7%) 208(5.7%) loop (unknown source) expand-capturing-lifts [75] 34.4% loop [51] 33.0% eval-prog [62] 23.2% for-loop [80] 9.1% -------------------------------------------------------------------- ??? [45] 100.0% [52] 622(17.1%) 0(0.0%) sample-multi-bounded ...-truth/src/points.rkt:14:0 random-ranges [60] 100.0% -------------------------------------------------------------------- ??? [45] 100.0% [53] 604(16.6%) 0(0.0%) mk-ival ...n-ground-truth/src/biginterval.rkt:65:0 bf [61] 100.0% -------------------------------------------------------------------- ??? [46] 100.0% [54] 494(13.6%) 494(13.6%) for-loop ...ound-truth/src/core/simplify.rkt:122:2 -------------------------------------------------------------------- bfadd [47] 100.0% [55] 424(11.7%) 424(11.7%) ??? /opt/racket-7.5/collects/ffi/unsafe.rkt:938:4 -------------------------------------------------------------------- for-loop [8] 50.0% for-loop [48] 50.0% [56] 222(6.1%) 0(0.0%) matcher ...ground-truth/src/core/matcher.rkt:117:2 ??? [2] 50.0% rewriter [42] 50.0% -------------------------------------------------------------------- ??? [45] 100.0% [57] 218(6.0%) 0(0.0%) location-do ...-ground-truth/src/programs.rkt:62:0 ??? [45] 100.0% -------------------------------------------------------------------- for-loop [10] 20.0% ??? [63] 20.0% ??? [45] 20.0% ??? [3] 20.0% loop [9] 20.0% [58] 218(6.0%) 0(0.0%) hash-ref! .../racket/private/more-scheme.rkt:376:2 ??? [3] 40.0% ??? [63] 20.0% ??? [6] 20.0% f41 [5] 20.0% -------------------------------------------------------------------- ??? [46] 100.0% [59] 214(5.9%) 214(5.9%) egg-run-rules ...truth/src/core/simplify.rkt:109:0 -------------------------------------------------------------------- sample-multi-bounded [52] 100.0% [60] 622(17.1%) 0(0.0%) random-ranges ...ground-truth/src/common.rkt:164:0 cons/c [65] 64.3% build--> [66] 35.7% -------------------------------------------------------------------- mk-ival [53] 100.0% [61] 604(16.6%) 200(5.5%) bf ...ath-lib/math/private/bigfloat/mpfr.rkt:615:2 new-mpfr [64] 66.9% -------------------------------------------------------------------- loop [51] 45.9% prepare-points-intervals [18] 54.1% [62] 436(12.0%) 0(0.0%) eval-prog ...on-ground-truth/src/programs.rkt:81:0 loop [51] 54.1% temp85_0 [67] 45.9% -------------------------------------------------------------------- hash-ref! [58] 100.0% [63] 218(6.0%) 0(0.0%) ??? ...tion-ground-truth/src/core/taylor.rkt:44:15 hash-ref! [58] 100.0% -------------------------------------------------------------------- bf [61] 100.0% [64] 404(11.1%) 404(11.1%) new-mpfr ...b/math/private/bigfloat/mpfr.rkt:348:0 -------------------------------------------------------------------- random-ranges [60] 100.0% [65] 400(11.0%) 0(0.0%) cons/c .../racket/contract/private/guts.rkt:500:15 coerce-contract [69] 50.0% flat-contract? [68] 50.0% -------------------------------------------------------------------- random-ranges [60] 100.0% [66] 222(6.1%) 222(6.1%) build--> ...act/private/arrow-val-first.rkt:1214:0 -------------------------------------------------------------------- eval-prog [62] 100.0% [67] 200(5.5%) 0(0.0%) temp85_0 (unknown source) compile15 [70] 100.0% -------------------------------------------------------------------- cons/c [65] 100.0% [68] 200(5.5%) 200(5.5%) flat-contract? .../contract/private/guts.rkt:129:0 -------------------------------------------------------------------- cons/c [65] 100.0% [69] 200(5.5%) 0(0.0%) coerce-contract ...contract/private/guts.rkt:307:0 coerce-contract/f [71] 100.0% -------------------------------------------------------------------- temp85_0 [67] 100.0% [70] 200(5.5%) 0(0.0%) compile15 (unknown source) temp91_0 [72] 100.0% -------------------------------------------------------------------- coerce-contract [69] 100.0% [71] 200(5.5%) 0(0.0%) coerce-contract/f ...ntract/private/guts.rkt:372:0 coerce-simple-value [73] 100.0% -------------------------------------------------------------------- compile15 [70] 100.0% [72] 200(5.5%) 0(0.0%) temp91_0 (unknown source) temp118_0 [74] 100.0% -------------------------------------------------------------------- coerce-contract/f [71] 100.0% [73] 200(5.5%) 200(5.5%) coerce-simple-value ...ract/private/guts.rkt:385:0 -------------------------------------------------------------------- temp91_0 [72] 100.0% [74] 200(5.5%) 0(0.0%) temp118_0 (unknown source) expand-capturing-lifts [75] 100.0% -------------------------------------------------------------------- temp118_0 [74] 30.6% loop [51] 69.4% [75] 654(18.0%) 0(0.0%) expand-capturing-lifts (unknown source) loop [51] 36.1% dispatch-transformer41 [76] 33.3% lambda-clause-expander [77] 30.6% -------------------------------------------------------------------- expand-capturing-lifts [75] 100.0% [76] 218(6.0%) 0(0.0%) dispatch-transformer41 (unknown source) apply-transformer52 [78] 100.0% -------------------------------------------------------------------- expand-capturing-lifts [75] 100.0% [77] 200(5.5%) 0(0.0%) lambda-clause-expander (unknown source) finish-bodys [79] 100.0% -------------------------------------------------------------------- dispatch-transformer41 [76] 100.0% [78] 218(6.0%) 218(6.0%) apply-transformer52 (unknown source) -------------------------------------------------------------------- for-loop [80] 50.0% lambda-clause-expander [77] 50.0% [79] 200(5.5%) 0(0.0%) finish-bodys (unknown source) for-loop [80] 100.0% -------------------------------------------------------------------- run-module-instance!125 [82] 17.9% loop [51] 17.9% finish-bodys [79] 30.4% *rules* [49] 33.7% [80] 658(18.1%) 200(5.5%) for-loop (unknown source) ormap [83] 33.7% run-module-instance!125 [82] 17.9% temp37_0 [81] 17.9% finish-bodys [79] 15.2% -------------------------------------------------------------------- for-loop [80] 100.0% [81] 236(6.5%) 0(0.0%) temp37_0 (unknown source) [running body] [84] 100.0% -------------------------------------------------------------------- for-loop [80] 100.0% [82] 236(6.5%) 0(0.0%) run-module-instance!125 (unknown source) for-loop [80] 100.0% -------------------------------------------------------------------- for-loop [80] 100.0% [83] 222(6.1%) 0(0.0%) ormap ....5/collects/racket/private/map.rkt:141:13 flag-set? [85] 100.0% -------------------------------------------------------------------- temp37_0 [81] 100.0% [84] 236(6.5%) 0(0.0%) [running body] .../collects/racket/format.rkt":##f .get-syntax-literal! [86] 100.0% -------------------------------------------------------------------- ormap [83] 100.0% [85] 222(6.1%) 222(6.1%) flag-set? ...tion-ground-truth/src/config.rkt:28:0 -------------------------------------------------------------------- [running body] [84] 100.0% [86] 236(6.5%) 0(0.0%) .get-syntax-literal! (unknown source) .deserialize-syntax [87] 100.0% -------------------------------------------------------------------- .get-syntax-literal! [86] 100.0% [87] 236(6.5%) 236(6.5%) .deserialize-syntax (unknown source) --------------------------------------------------------------------