Giter Club home page Giter Club logo

parcel-benchmark-action's People

Contributors

adelchan07 avatar demoorjasper avatar dependabot[bot] avatar devongovett avatar legobeat avatar magi-ks avatar marcins avatar mischnic avatar mtgto avatar padmaia avatar pyamada-atlassian avatar yamadapc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

parcel-benchmark-action's Issues

Add comparison with other bundling tools?

Benchmarking against other bundling tools (rollup, browserify, webpack, ...) would be cool.

Not sure if it should be done of every PR though...

We could however make a script that uses the same utils that could just run from this repo if anyone wanted.

Validate the bundle graph before comparing

The bundler plugin can change in a PR, to prevent this action from crashing or giving invalid data. Ensure the bundle graph is identical.

In case it isn't, we should just log bundlesizes without any diffs.

Benchmark dev builds

Testing the application in watch mode or serve mode will be slightly more complicated than just build.
But would allow testing performance of dev specific elements like the watcher.

Create a set of test applications

Currently we don't have a lot of test applications.

We mainly need a very big and complex application to test on. Small ones are also welcome :)

Send benchmark results to an API

Using a seperate API to interact with github and store benchmark results would allow us to create a web-interface for the benchmarks

It would also allow us to plot performance changes over time.

Another advantage would be that our actual interaction with the github API would be split from github, aka logs about the api aren't public, github action logs are (resulting in a probably more secure environment)

Figure out how to add comments to PRs originating from outside parcel-bundler/parcel

Apparently Github Actions run from the source branch not the target branch, so the apikey is undefined if a PR compares with a branch outside of the Parcel org.

Not having an API key is not an option unless we run the benchmarks on a seperate server. Related which might happen, see: #8 but than we'd also need to verify the source to ensure no-one can submit incorrect benchmarks

Don't put benchmarks in the cloned repo

Currently all benchmarks are put into the parcel monorepo that gets cloned, so it can use yarn workspaces for linking everything up nicely.

Figure out a way to link up everything manually so we have a more reliable environment. (prevent pkg version conflicts).

write comment to PR

Test this out on a Parcel fork and figure out how to post a comment with the benchmark results

Entry does not exist?

https://github.com/parcel-bundler/parcel/pull/5414/checks?check_run_id=1546225252

๐Ÿšจ Build failed.
Error: Entry /usr/src/app/.tmp/three-1607880853233/src/Three.js does not exist
Error: Entry /usr/src/app/.tmp/three-1607880853233/src/Three.js does not exist
    at EntryResolver.resolveEntry (/usr/src/app/.tmp/main/packages/core/core/lib/requests/EntryRequest.js:101:13)
command node_modules/.bin/parcel build ./src/Three.js --log-level warn --no-cache failed with status code 1.
Cleanup benchmark environment
command node_modules/.bin/parcel build ./src/Three.js --log-level warn --no-cache failed with status code 1.
Unlinking package @parcel/reporter-build-metrics
success Unregistered "@parcel/reporter-build-metrics".

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.