Profiling results ----------------- Total cpu time observed: 15806ms (out of 16376ms) Number of samples taken: 47 (once every 336ms) ============================================================================ Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ============================================================================ run [8] 50.0% [1] 15806(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [3] 50.0% run-improve39 [4] 24.5% prepare-points [5] 24.4% get-final-combination [6] 1.0% ---------------------------------------------------------------------------- ??? [56] 100.0% [2] 306(1.9%) 0(0.0%) approximate9 ...ification/src/core/taylor.rkt:12:0 loop [7] 100.0% ---------------------------------------------------------------------------- ??? [1] 100.0% [3] 15806(100.0%) 0(0.0%) profile-thunk16 ...e/pkgs/profile-lib/main.rkt:9:0 run [8] 100.0% ---------------------------------------------------------------------------- ??? [1] 100.0% [4] 7760(49.1%) 0(0.0%) run-improve39 ...lification/src/mainloop.rkt:286:0 for-loop [9] 95.9% for-loop [12] 4.1% ---------------------------------------------------------------------------- ??? [1] 100.0% [5] 7724(48.9%) 0(0.0%) prepare-points ...plification/src/points.rkt:156:0 make-exacts* [16] 36.8% loop [17] 30.6% loop [10] 28.7% for-loop [13] 4.0% ---------------------------------------------------------------------------- ??? [1] 100.0% [6] 322(2.0%) 0(0.0%) get-final-combination ...on/src/mainloop.rkt:309:0 argmins [11] 100.0% ---------------------------------------------------------------------------- approximate9 [2] 100.0% [7] 306(1.9%) 0(0.0%) loop ...nt-simplification/src/core/taylor.rkt:86:4 hash-ref! [14] 100.0% ---------------------------------------------------------------------------- profile-thunk16 [3] 100.0% [8] 15806(100.0%) 0(0.0%) run ...racket/share/pkgs/profile-lib/main.rkt:39:2 ??? [1] 100.0% ---------------------------------------------------------------------------- run-improve39 [4] 100.0% [9] 7440(47.1%) 0(0.0%) for-loop ...-simplification/src/mainloop.rkt:303:8 run-iter! [15] 100.0% ---------------------------------------------------------------------------- prepare-points [5] 100.0% [10] 2216(14.0%) 0(0.0%) loop ...nstant-simplification/src/points.rkt:124:2 make-exacts* [16] 86.0% loop [17] 14.0% ---------------------------------------------------------------------------- get-final-combination [6] 100.0% [11] 322(2.0%) 0(0.0%) argmins ...ant-simplification/src/common.rkt:142:0 ??? [18] 100.0% ---------------------------------------------------------------------------- run-improve39 [4] 100.0% [12] 320(2.0%) 0(0.0%) for-loop ...simplification/src/mainloop.rkt:298:29 ??? [59] 100.0% ---------------------------------------------------------------------------- prepare-points [5] 100.0% [13] 308(1.9%) 0(0.0%) for-loop ...t-simplification/src/points.rkt:195:19 ??? [19] 100.0% ---------------------------------------------------------------------------- ??? [20] 33.3% ??? [56] 33.3% loop [7] 33.3% [14] 306(1.9%) 0(0.0%) hash-ref! .../racket/private/more-scheme.rkt:376:2 ??? [21] 33.3% ??? [20] 33.3% simplify [22] 33.3% ---------------------------------------------------------------------------- for-loop [9] 100.0% [15] 7440(47.1%) 0(0.0%) run-iter! ...simplification/src/mainloop.rkt:267:0 simplify! [23] 58.0% finalize-iter! [24] 33.7% gen-rewrites! [25] 4.2% gen-series! [27] 4.1% ---------------------------------------------------------------------------- loop [10] 40.2% prepare-points [5] 59.8% [16] 4746(30.0%) 0(0.0%) make-exacts* ...implification/src/points.rkt:104:0 loop [96] 100.0% ---------------------------------------------------------------------------- loop [10] 11.6% prepare-points [5] 88.4% [17] 2670(16.9%) 0(0.0%) loop ...nstant-simplification/src/points.rkt:107:4 loop [96] 100.0% ---------------------------------------------------------------------------- argmins [11] 100.0% [18] 322(2.0%) 0(0.0%) ??? ...tant-simplification/src/mainloop.rkt:110:19 errors [50] 100.0% ---------------------------------------------------------------------------- for-loop [13] 100.0% [19] 308(1.9%) 0(0.0%) ??? ...onstant-simplification/src/points.rkt:172:7 for-loop [26] 100.0% ---------------------------------------------------------------------------- hash-ref! [14] 100.0% [20] 306(1.9%) 0(0.0%) ??? ...nt-simplification/src/core/taylor.rkt:44:15 hash-ref! [14] 100.0% ---------------------------------------------------------------------------- hash-ref! [14] 100.0% [21] 306(1.9%) 0(0.0%) ??? ...nt-simplification/src/core/taylor.rkt:67:15 ??? [56] 100.0% ---------------------------------------------------------------------------- hash-ref! [14] 100.0% [22] 306(1.9%) 0(0.0%) simplify ...implification/src/core/reduce.rkt:16:0 f46 [28] 100.0% ---------------------------------------------------------------------------- run-iter! [15] 100.0% [23] 4316(27.3%) 0(0.0%) simplify! ...simplification/src/mainloop.rkt:181:0 for-loop [29] 100.0% ---------------------------------------------------------------------------- run-iter! [15] 100.0% [24] 2506(15.9%) 0(0.0%) finalize-iter! ...ification/src/mainloop.rkt:221:0 ??? [30] 100.0% ---------------------------------------------------------------------------- run-iter! [15] 100.0% [25] 312(2.0%) 0(0.0%) gen-rewrites! ...lification/src/mainloop.rkt:164:0 for-loop [31] 100.0% ---------------------------------------------------------------------------- ??? [19] 100.0% [26] 308(1.9%) 0(0.0%) for-loop ...nt-simplification/src/points.rkt:173:9 ??? [56] 100.0% ---------------------------------------------------------------------------- run-iter! [15] 100.0% [27] 306(1.9%) 0(0.0%) gen-series! ...mplification/src/mainloop.rkt:151:0 for-loop [33] 100.0% ---------------------------------------------------------------------------- map [32] 50.0% simplify [22] 50.0% [28] 306(1.9%) 0(0.0%) f46 ...t/collects/racket/match/compiler.rkt:507:40 map [32] 100.0% ---------------------------------------------------------------------------- simplify! [23] 100.0% [29] 4316(27.3%) 0(0.0%) for-loop ...-simplification/src/mainloop.rkt:185:6 for-loop [34] 100.0% ---------------------------------------------------------------------------- finalize-iter! [24] 100.0% [30] 2506(15.9%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:388:18 for-loop [35] 100.0% ---------------------------------------------------------------------------- gen-rewrites! [25] 100.0% [31] 312(2.0%) 0(0.0%) for-loop ...simplification/src/mainloop.rkt:169:11 ??? [36] 100.0% ---------------------------------------------------------------------------- f46 [28] 100.0% [32] 306(1.9%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:35:13 f46 [28] 50.0% make-multiplication-node [37] 50.0% ---------------------------------------------------------------------------- gen-series! [27] 100.0% [33] 306(1.9%) 0(0.0%) for-loop ...-simplification/src/mainloop.rkt:157:7 taylor-alt [38] 100.0% ---------------------------------------------------------------------------- for-loop [29] 100.0% [34] 4316(27.3%) 0(0.0%) for-loop ...-simplification/src/mainloop.rkt:209:8 ??? [56] 100.0% ---------------------------------------------------------------------------- ??? [30] 100.0% [35] 2506(15.9%) 0(0.0%) for-loop ...lification/src/core/alt-table.rkt:51:2 atab-add-altn [39] 87.8% loop [41] 12.2% ---------------------------------------------------------------------------- for-loop [31] 100.0% [36] 312(2.0%) 0(0.0%) ??? ...ant-simplification/src/alternative.rkt:60:0 rewriter [40] 100.0% ---------------------------------------------------------------------------- map [32] 100.0% [37] 306(1.9%) 0(0.0%) make-multiplication-node .../core/reduce.rkt:230:0 make-multiplication-subnode [42] 100.0% ---------------------------------------------------------------------------- for-loop [33] 100.0% [38] 306(1.9%) 0(0.0%) taylor-alt ...implification/src/mainloop.rkt:136:0 for-loop [43] 100.0% ---------------------------------------------------------------------------- for-loop [35] 100.0% [39] 2200(13.9%) 0(0.0%) atab-add-altn ...tion/src/core/alt-table.rkt:210:0 override-at-pnts [44] 71.3% best-and-tied-at-points [45] 28.7% ---------------------------------------------------------------------------- matcher [52] 50.0% ??? [36] 50.0% [40] 312(2.0%) 0(0.0%) rewriter ...plification/src/core/matcher.rkt:131:2 for-loop [47] 50.0% *rules* [46] 50.0% ---------------------------------------------------------------------------- for-loop [35] 100.0% [41] 306(1.9%) 0(0.0%) loop ...implification/src/core/alt-table.rkt:184:2 loop [48] 100.0% ---------------------------------------------------------------------------- make-multiplication-node [37] 100.0% [42] 306(1.9%) 0(0.0%) make-multiplication-subnode ...re/reduce.rkt:240:0 for-loop [49] 100.0% ---------------------------------------------------------------------------- taylor-alt [38] 100.0% [43] 306(1.9%) 0(0.0%) for-loop ...-simplification/src/mainloop.rkt:142:6 ??? [56] 100.0% ---------------------------------------------------------------------------- atab-add-altn [39] 100.0% [44] 1568(9.9%) 312(2.0%) override-at-pnts ...n/src/core/alt-table.rkt:145:0 errors [50] 80.1% ---------------------------------------------------------------------------- atab-add-altn [39] 100.0% [45] 632(4.0%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [50] 100.0% ---------------------------------------------------------------------------- rewriter [40] 100.0% [46] 312(2.0%) 0(0.0%) *rules* ...mplification/src/syntax/rules.rkt:643:0 for-loop [51] 100.0% ---------------------------------------------------------------------------- rewriter [40] 100.0% [47] 312(2.0%) 0(0.0%) for-loop ...lification/src/core/matcher.rkt:134:10 matcher [52] 100.0% ---------------------------------------------------------------------------- loop [41] 1.6% loop [48] 98.4% [48] 306(1.9%) 306(1.9%) loop ...p92/racket/collects/racket/list.rkt:434:28 loop [48] 98.4% ---------------------------------------------------------------------------- make-multiplication-subnode [42] 100.0% [49] 306(1.9%) 306(1.9%) for-loop ...mplification/src/core/reduce.rkt:242:3 ---------------------------------------------------------------------------- ??? [18] 14.6% best-and-tied-at-points [45] 28.6% override-at-pnts [44] 56.8% [50] 2210(14.0%) 0(0.0%) errors ...tant-simplification/src/points.rkt:203:0 for-loop [53] 100.0% ---------------------------------------------------------------------------- *rules* [46] 100.0% [51] 312(2.0%) 312(2.0%) for-loop ...ant-simplification/src/common.rkt:92:9 ---------------------------------------------------------------------------- for-loop [54] 50.0% for-loop [47] 50.0% [52] 312(2.0%) 0(0.0%) matcher ...mplification/src/core/matcher.rkt:168:2 for-loop [54] 50.0% rewriter [40] 50.0% ---------------------------------------------------------------------------- errors [50] 100.0% [53] 2210(14.0%) 312(2.0%) for-loop ...nt-simplification/src/points.rkt:206:4 ??? [55] 71.6% ??? [56] 14.3% ---------------------------------------------------------------------------- matcher [52] 100.0% [54] 312(2.0%) 0(0.0%) for-loop ...lification/src/core/matcher.rkt:184:21 matcher [52] 100.0% ---------------------------------------------------------------------------- for-loop [53] 18.2% loop [96] 81.8% [55] 8684(54.9%) 1030(6.5%) ??? ...stant-simplification/src/programs.rkt:129:2 ??? [57] 42.3% bf [58] 42.1% ??? [56] 3.7% ---------------------------------------------------------------------------- ??? [21] 1.7% for-loop [43] 1.7% for-loop [26] 5.2% loop [96] 5.3% for-loop [53] 5.4% ??? [55] 5.5% for-loop [34] 36.7% location-do [60] 38.4% [56] 5882(37.2%) 316(2.0%) ??? ...tract/private/arrow-higher-order.rkt:357:33 location-do [60] 38.4% ??? [59] 36.7% ->flonum [63] 10.8% sample-multi-bounded [65] 5.2% approximate9 [2] 1.7% hash-ref! [14] 1.7% ---------------------------------------------------------------------------- ??? [55] 100.0% [57] 3672(23.2%) 1274(8.1%) ??? ...acket/collects/racket/private/kw.rkt:592:14 ??? [61] 38.0% for-loop [62] 18.6% ??? [64] 8.8% ---------------------------------------------------------------------------- ??? [55] 100.0% [58] 3660(23.2%) 356(2.3%) bf ...ath-lib/math/private/bigfloat/mpfr.rkt:601:2 new-mpfr [73] 72.7% ??? [74] 17.6% ---------------------------------------------------------------------------- for-loop [12] 6.9% ??? [56] 93.1% [59] 4636(29.3%) 0(0.0%) ??? ...t-simplification/src/core/simplify.rkt:31:0 iterate-egraph!7 [66] 85.6% loop [68] 14.4% ---------------------------------------------------------------------------- location-do [60] 46.7% ??? [56] 53.3% [60] 4622(29.2%) 0(0.0%) location-do ...implification/src/programs.rkt:90:0 ??? [56] 53.3% location-do [60] 46.7% ---------------------------------------------------------------------------- ??? [57] 100.0% [61] 1394(8.8%) 0(0.0%) ??? ...-racket/utils/simple-result-arrow.rkt:39:12 bfsub [67] 100.0% ---------------------------------------------------------------------------- ??? [57] 100.0% [62] 682(4.3%) 358(2.3%) for-loop ...lification/src/syntax/syntax.rkt:579:2 ...higher-order.rkt:357:33 [69] 47.5% ---------------------------------------------------------------------------- ??? [56] 100.0% [63] 636(4.0%) 0(0.0%) ->flonum ...t-simplification/src/programs.rkt:36:0 return/no-unsupplied [70] 50.6% ??? [89] 49.4% ---------------------------------------------------------------------------- ??? [57] 100.0% [64] 322(2.0%) 322(2.0%) ??? ...rivate/unconstrained-domain-arrow.rkt:40:13 ---------------------------------------------------------------------------- ??? [56] 100.0% [65] 308(1.9%) 0(0.0%) sample-multi-bounded ...cation/src/points.rkt:43:0 for-loop [71] 100.0% ---------------------------------------------------------------------------- ??? [59] 100.0% [66] 3970(25.1%) 0(0.0%) iterate-egraph!7 ...ion/src/core/simplify.rkt:55:0 one-iter [72] 100.0% ---------------------------------------------------------------------------- ??? [61] 100.0% [67] 1394(8.8%) 0(0.0%) bfsub ...-lib/math/private/bigfloat/mpfr.rkt:821:4 ??? [74] 54.1% new-mpfr [73] 45.9% ---------------------------------------------------------------------------- ??? [59] 100.0% [68] 666(4.2%) 0(0.0%) loop ...simplification/src/core/simplify.rkt:184:2 for-loop [75] 100.0% ---------------------------------------------------------------------------- for-loop [62] 100.0% [69] 324(2.0%) 0(0.0%) ...higher-order.rkt:357:33 (unknown source) ??? [100] 100.0% ---------------------------------------------------------------------------- ->flonum [63] 100.0% [70] 322(2.0%) 322(2.0%) return/no-unsupplied ...ct/private/arr-i.rkt:534:0 ---------------------------------------------------------------------------- sample-multi-bounded [65] 100.0% [71] 308(1.9%) 308(1.9%) for-loop ...ant-simplification/src/points.rkt:46:4 ---------------------------------------------------------------------------- iterate-egraph!7 [66] 100.0% [72] 3970(25.1%) 0(0.0%) one-iter ...plification/src/core/simplify.rkt:66:0 for-loop [76] 57.9% for-loop [77] 42.1% ---------------------------------------------------------------------------- bfsub [67] 19.4% bf [58] 80.6% [73] 3300(20.9%) 3300(20.9%) new-mpfr ...b/math/private/bigfloat/mpfr.rkt:335:0 ---------------------------------------------------------------------------- bf [58] 46.1% bfsub [67] 53.9% [74] 1398(8.8%) 1398(8.8%) ??? /home/p92/racket/collects/ffi/unsafe.rkt:898:4 ---------------------------------------------------------------------------- loop [68] 100.0% [75] 666(4.2%) 0(0.0%) for-loop ...ification/src/core/simplify.rkt:177:29 argmin [78] 100.0% ---------------------------------------------------------------------------- one-iter [72] 100.0% [76] 2298(14.5%) 0(0.0%) for-loop ...lification/src/core/simplify.rkt:113:2 for-loop [79] 100.0% ---------------------------------------------------------------------------- for-loop [77] 50.0% one-iter [72] 50.0% [77] 1672(10.6%) 0(0.0%) for-loop ...lification/src/core/simplify.rkt:76:12 for-loop [77] 50.0% match-e [80] 50.0% ---------------------------------------------------------------------------- for-loop [75] 100.0% [78] 666(4.2%) 0(0.0%) argmin ...92/racket/collects/racket/list.rkt:765:0 for-loop [81] 100.0% ---------------------------------------------------------------------------- for-loop [76] 100.0% [79] 2298(14.5%) 0(0.0%) for-loop ...plification/src/core/simplify.rkt:98:4 mk-enode! [82] 57.6% loop! [95] 28.2% merge-egraph-nodes! [86] 14.2% ---------------------------------------------------------------------------- for-loop [90] 10.1% for-loop [77] 89.9% [80] 1672(10.6%) 334(2.1%) match-e ...simplification/src/core/ematch.rkt:46:0 for-loop [83] 59.1% make-sequence [84] 20.9% ---------------------------------------------------------------------------- argmin [78] 100.0% [81] 666(4.2%) 0(0.0%) for-loop ...-simplification/src/programs.rkt:169:2 table-ref [85] 51.7% ...ation/src/common.rkt:48:2 [87] 48.3% ---------------------------------------------------------------------------- for-loop [79] 100.0% [82] 1324(8.4%) 0(0.0%) mk-enode! ...plification/src/core/egraph.rkt:102:0 new-enode [88] 74.8% for-loop [91] 25.2% ---------------------------------------------------------------------------- match-e [80] 100.0% [83] 988(6.3%) 988(6.3%) for-loop ...mplification/src/core/ematch.rkt:59:11 for-loop [90] 17.1% ---------------------------------------------------------------------------- match-e [80] 100.0% [84] 350(2.2%) 350(2.2%) make-sequence ...ects/racket/private/for.rkt:528:2 ---------------------------------------------------------------------------- for-loop [81] 100.0% [85] 344(2.2%) 0(0.0%) table-ref ...nt-simplification/src/common.rkt:47:0 ??? [89] 100.0% ---------------------------------------------------------------------------- for-loop [92] 50.0% for-loop [79] 50.0% [86] 326(2.1%) 0(0.0%) merge-egraph-nodes! ...n/src/core/egraph.rkt:153:0 for-loop [92] 100.0% ---------------------------------------------------------------------------- for-loop [81] 100.0% [87] 322(2.0%) 0(0.0%) ...ation/src/common.rkt:48:2 ...e/arr-i.rkt:918:19 ??? [93] 100.0% ---------------------------------------------------------------------------- mk-enode! [82] 100.0% [88] 990(6.3%) 0(0.0%) new-enode ...implification/src/core/enode.rkt:95:0 type-of-enode-expr [94] 100.0% ---------------------------------------------------------------------------- ->flonum [63] 47.7% table-ref [85] 52.3% [89] 658(4.2%) 658(4.2%) ??? ...s/racket/contract/private/arr-i.rkt:1252:29 ---------------------------------------------------------------------------- for-loop [83] 100.0% [90] 338(2.1%) 0(0.0%) for-loop ...mplification/src/core/ematch.rkt:65:37 match-e [80] 100.0% ---------------------------------------------------------------------------- mk-enode! [82] 100.0% [91] 334(2.1%) 334(2.1%) for-loop ...plification/src/core/egraph.rkt:114:10 ---------------------------------------------------------------------------- merge-egraph-nodes! [86] 100.0% [92] 326(2.1%) 0(0.0%) for-loop ...plification/src/core/egraph.rkt:201:10 merge-egraph-nodes! [86] 50.0% loop! [95] 50.0% ---------------------------------------------------------------------------- ...ation/src/common.rkt:48:2 [87] 100.0% [93] 322(2.0%) 322(2.0%) ??? ...s/racket/contract/private/arr-i.rkt:1286:39 ---------------------------------------------------------------------------- new-enode [88] 100.0% [94] 990(6.3%) 0(0.0%) type-of-enode-expr ...tion/src/core/enode.rkt:68:0 ??? [97] 66.3% for-loop [99] 33.7% ---------------------------------------------------------------------------- loop [96] 16.7% for-loop [92] 16.7% for-loop [79] 66.5% [95] 974(6.2%) 0(0.0%) loop! ...t-simplification/src/core/enode.rkt:190:2 custom-set-union [98] 50.0% loop [96] 50.0% ---------------------------------------------------------------------------- loop [17] 0.1% make-exacts* [16] 0.2% loop! [95] 4.5% loop [96] 95.2% [96] 8066(51.0%) 324(2.0%) loop ...cket/collects/racket/private/map.rkt:40:19 loop [96] 95.2% loop! [95] 4.0% ??? [55] 0.2% ??? [56] 0.0% ---------------------------------------------------------------------------- type-of-enode-expr [94] 100.0% [97] 656(4.2%) 0(0.0%) ??? ...ects/racket/contract/private/hash.rkt:227:4 contract-pos/neg-doubling/proc [101]100.0% ---------------------------------------------------------------------------- loop! [95] 100.0% [98] 650(4.1%) 0(0.0%) custom-set-union ...et/private/set-types.rkt:168:0 for-loop [102] 100.0% ---------------------------------------------------------------------------- type-of-enode-expr [94] 100.0% [99] 334(2.1%) 0(0.0%) for-loop ...racket/contract/private/hash.rkt:277:6 ??? [100] 100.0% ---------------------------------------------------------------------------- ...higher-order.rkt:357:33 [69] 49.2% for-loop [99] 50.8% [100] 658(4.2%) 324(2.0%) ??? ...cts/racket/contract/private/list.rkt:209:10 ??? [103] 50.8% ---------------------------------------------------------------------------- ??? [97] 100.0% [101] 656(4.2%) 656(4.2%) contract-pos/neg-doubling/proc ...e/guts.rkt:956:0 ---------------------------------------------------------------------------- custom-set-union [98] 100.0% [102] 650(4.1%) 326(2.1%) for-loop ...cts/racket/private/set-types.rkt:174:3 for-loop [104] 49.8% ---------------------------------------------------------------------------- ??? [100] 100.0% [103] 334(2.1%) 0(0.0%) ??? ...ects/racket/contract/private/list.rkt:747:7 ??? [105] 100.0% ---------------------------------------------------------------------------- for-loop [102] 100.0% [104] 324(2.0%) 324(2.0%) for-loop ...cts/racket/private/set-types.rkt:178:5 ---------------------------------------------------------------------------- ??? [103] 100.0% [105] 334(2.1%) 334(2.1%) ??? ...ects/racket/contract/private/guts.rkt:746:8 ----------------------------------------------------------------------------