-
-
Notifications
You must be signed in to change notification settings - Fork 649
[profile] Update to latest profiling middleware #3805
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
Conversation
a6d7266
to
6e7d62e
Compare
3fa06e6
to
8c84d21
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me overall. Perhaps you can also mention somewhere what are the limitations of the built-in profiler, so it's clearer when it's a good idea for people to use it and when to reach out to a proper profiler.
Perhaps now that you're on a roll you'll finally integrate clj-async-profiler
with CIDER. 😀
CIDER has a built-in profiler that can help you identify hot-spots in your | ||
application code. It's built on top of the https://github.com/thunknyc/profile[thunknyc/profile] library. | ||
CIDER has a simple built-in profiler that can you to quickly measure the running | ||
time of individual functions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps add some comparison with time
as in many ways our "profiler" is just a fancy interface for time
(at least in my mind).
@@ -34,7 +34,6 @@ | |||
(require 'cider-client) | |||
(require 'cider-eval) | |||
(require 'cider-scratch) | |||
(require 'cider-profile) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't believe we had a dependency here for one var. :D
8c84d21
to
01df376
Compare
application code. It's built on top of the https://github.com/thunknyc/profile[thunknyc/profile] library. | ||
CIDER has a simple built-in profiler that can you to quickly measure the running | ||
time of individual functions. It is similar to wrapping your functions with | ||
`time` macro, except it records every timing and displays a the summarized |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small typo -> a the summarized
Sister PRs: clojure-emacs/orchard#333, clojure-emacs/cider-nrepl#929
Final touches. Remove functions for the removed ops, display summary with the inspector, update docs.