Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add configurable flisp profiling / timing code #19321

Merged
merged 1 commit into from
Feb 20, 2017
Merged

Conversation

vtjnash
Copy link
Member

@vtjnash vtjnash commented Nov 14, 2016

@JeffBezanson thoughts on whether / how we should put this in core?

@vtjnash
Copy link
Member Author

vtjnash commented Nov 28, 2016

bump

@vtjnash
Copy link
Member Author

vtjnash commented Dec 6, 2016

for example, here's a sample usage for evaluating lowering timings:

begin
           ccall(:fl_profile, Void, (Cstring,), "julia-expand")
           ccall(:fl_profile, Void, (Cstring,), "julia-expand-macros")
           ccall(:fl_profile, Void, (Cstring,), "julia-expand0")
           ccall(:fl_profile, Void, (Cstring,), "julia-expand1")
           ccall(:fl_profile, Void, (Cstring,), "resolve-scopes")
           ccall(:fl_profile, Void, (Cstring,), "analyze-variables!")
           ccall(:fl_profile, Void, (Cstring,), "closure-convert")
           ccall(:fl_profile, Void, (Cstring,), "linearize")
           ccall(:fl_profile, Void, (Cstring,), "renumber-slots-and-labels")
           ccall(:fl_profile, Void, (Cstring,), "lift-toplevel")
           ccall(:fl_profile, Void, (Cstring,), "map-cl-convert")
           ccall(:fl_profile, Void, (Cstring,), "cl-convert")
           ccall(:fl_profile, Void, (Cstring,), "expr-find-all")
           ccall(:fl_profile, Void, (Cstring,), "lambda-optimize-vars!")
end
ccall(:fl_show_profile, Void, ())
ccall(:fl_clear_profile, Void, ())

@StefanKarpinski
Copy link
Member

Might want to restart the OS X tests?

@vtjnash
Copy link
Member Author

vtjnash commented Dec 8, 2016

would need to rebase to pick up the new .travis file

@vtjnash vtjnash merged commit 6eb61c6 into master Feb 20, 2017
@vtjnash vtjnash deleted the jn/time-flisp branch February 20, 2017 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants