Basic process for contributing:
- Fork repo and create local branch
- Make and commit changes
- If you think a change you make should have a changelog entry (can run multiple times for multiple entries), run
npm run changeset
and answer the questions about the changes you are making - Open a pull request with your changes
This project is a monorepo. Check each sub-repo's Readme.md
for details about contributing to each project, but for convenience, below is a quick description of each sub-repo.
v8-deopt-generate-log
: Given a JS or HTML file, generate a log file of V8's deoptimizations. Uses NodeJS or puppeteer to generate the logv8-deopt-parser
: Parses a V8 log into a data structure containing relevant deoptimization infov8-deopt-viewer
: Command-line tool to automate generating, parsing, and displaying V8's deoptimizationsv8-deopt-webapp
: Webapp to display parsed V8 logs
Quick thoughts:
v8-deopt-parser
package should work in the browser and nodeJS and should correctly parse Linux, Windows, file: protocol, and http(s): protocol pathsv8-deopt-parser
usestape
for testing because it easily works with NodeJS ES Modules and runs easily runs natively in the browser (?does it?)
- Run
npm run changeset -- version
- Commit changes and push to master
- Run
npm run changeset -- publish
to publish changes Make sure no commits exist between the commit in step 2 and the publish command - Run
git push --follow-tags
to publish the new tags - Create a GitHub release from the new tag