Conversation
The primary use case of the analysis subcommand is to preprocess the trace and store the results for later use - either by external tools or the future graphing extensions of this tool. Loading and *parsing* an entire `.json` file to render a chart for a single entry is wasteful and takes unnecessarily long. This PR allows to store analysis results to new binary format called binary bundle. Data from the analyses is written to the _SQLite_ database. Each analysis stores the results in a separate sqlite table with columns like `id`, various metadata (e.g. node and callback name), and the actual data (e.g. callback durations). The data are stored in sqlite as a binary blob generated by serializing the data structure by `serde` and postcard (a compact and fast binary format). For backward compatibility `--legacy-output` allows to switch back to the old textual outputs. A new command `extract` is added, which allows extracting data from the binary bundle. --------- Co-authored-by: Pavel Sedlacek <pavel.sedlacek@protonmail.com> Co-authored-by: Michal Sojka <michal.sojka@cvut.cz>
Open
…lution The panic was: The application panicked (crashed). Message: no entry found for key Location: src/analyses/analysis/dependency_graph.rs:667
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.
This branch serves for preparation of interactive graphing feature.
For now, the purpose of this PR is to record the history of what's happening with the branch. For example, I'm going to rebase it now and hopefully, it will be visible here.