Repository navigation
Fit the profile summary in a terminal - #85
Merged
Merged
Conversation
bbatsov
force-pushed
the
compact-profile-table
branch
2 times, most recently
from
November 6, 2026 13:44
0d93193 to
8606963
Compare
cider-nrepl shows the summary in orchard's table view, which CIDER's inspector can go into: a column with each row's number, one with a few of the samples, :name and the like for headings and the vars as neorepl now takes the cells from the view and lays them out as its other tables are, without the number and the samples, with headings and names written as they are elsewhere. Every cider-nrepl since 0.55, the first with these ops, shows the summary that way.
neorepl profile --format edn or json had the summary as the text table, which a script or an agent has to split back into columns. features/profile-summary now takes the rows out of cider-nrepl's table, a map for each function, with :n as a number and the times as orchard writes them, like "4 us", and render only lays them out. orchard cuts a cell at 70 characters, a long var's name too, which the data can't undo.
bbatsov
force-pushed
the
compact-profile-table
branch
from
November 6, 2026 18:40
8606963 to
409a6d6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
,profileprinted cider-nrepl's inspector table as it came, about 130 columns, with a row number and a samples column that only make sense in CIDER's inspector. It's now laid out like neorepl's other tables. The edn and JSON:summarystays text, in the new layout.