Replies: 2 comments 2 replies
-
I think an option of Also, is a good thing to think of a way to compose those modes, like enabling an option to output the result to a file or directly to the terminal (the default), in this way, we can pretty print for the terminal in CI/CD and they save in a file the results that are easier to read. You can use nodejs-bench-operations as an example, Rafael created it to benchmark nodejs operations and it uses CI/CD to automate the generation of the tables and other stuffs. Maybe you can study this repo to create APIs that could make the life of maintaining that repo way easier. |
Beta Was this translation helpful? Give feedback.
-
Also, my suggestion to you is to prioritize the outputs based on public benchmarks repositories, like the repo from Rafael. NodeJS also have some benchmark tooling, you can also read those files to learn more about how they are doing their benchmark tooling. |
Beta Was this translation helpful? Give feedback.
-
Currently we have these output modes:
useTerminal
- pretty terminal outputuseTerminalCompact
- compact terminal output (similar to benchmark.js)I was thinking about these:
useTerminalTable
- print results as a table into terminaluseTerminalInteractive
- interactive TUI with ASCII graphsuseFileSvg
- generate SVG (line?) graphuseFileMarkdown
- save benchmark results into a markdown fileuseWebsocket
- send results over a websocket (useful for a web app which could visualize the captured data)Which output mode do you want?
(also please specify how they should work/look like)
Beta Was this translation helpful? Give feedback.
All reactions