andrewbranch / definitely-not-slow Goto Github PK
View Code? Open in Web Editor NEWThis repo has moved:
Home Page: https://github.com/microsoft/DefinitelyTyped-tools/tree/master/packages/perf
License: MIT License
This repo has moved:
Home Page: https://github.com/microsoft/DefinitelyTyped-tools/tree/master/packages/perf
License: MIT License
Dependabot couldn't authenticate with npm.pkg.github.com/andrewbranch.
You can provide authentication details in your Dependabot dashboard by clicking into the account menu (in the top right) and selecting 'Config variables'.
Some types rely on non-DefinitelyTyped types. For instance @types/ramda
depends on ts-toolbelt
. Updates to these external dependencies (especially utility-types packages like ts-toolbelt
) could cause large changes to the benchmarks for a DefinitelyTyped type that are unrelated to the changes made for the PR.
I propose modifying the 2nd item in the "Usage" list, to specify that "aren’t up-to-date" includes packages whose last benchmark used an older version of their dependencies.
This would require a few updates:
compareBenchmarks
, we'd want to check the if the current versions of each dependency (that still matches the semver) is not the same as the stored versions. If a version has changed, then we'd want to run a new benchmark for the package against origin/master
and compare against that benchmark.
This could get complicated. There would be times when a package's external dependencies have been updated because the dependency's semver version was updated in package.json
. For instance, to enforce an older version when the current version is broken, or to update to a new major version. In those cases we may or may not want to run the prior benchmark.
This part is probably worth a bit of discussion below.
First of all, congrats for this impressive tool.
I'd like to know whether it can be used outside of DefinitelyTyped ecosystem.
To be specific, I'd like to use it to obtain the metrics generated for DefinitelyTyped PR, but for a local types package instead.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.