GithubHelp home page GithubHelp logo

andrewbranch / definitely-not-slow Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 2.0 1.27 MB

This repo has moved:

Home Page: https://github.com/microsoft/DefinitelyTyped-tools/tree/master/packages/perf

License: MIT License

TypeScript 99.16% JavaScript 0.74% Dockerfile 0.09%

definitely-not-slow's Introduction

Andrewbranch

This README outlines the details of collaborating on this Ember application. A short introduction of this app could easily go here.

Prerequisites

You will need the following things properly installed on your computer.

Installation

  • git clone <repository-url> this repository
  • change into the new directory
  • npm install
  • bower install

Running / Development

Code Generators

Make use of the many generators for code, try ember help generate for more details

Running Tests

  • ember test
  • ember test --server

Building

  • ember build (development)
  • ember build --environment production (production)

Deploying

Specify what it takes to deploy your app.

Further Reading / Useful Links

definitely-not-slow's People

Contributors

andrewbranch avatar dependabot-preview[bot] avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

alloy

definitely-not-slow's Issues

Usage outside of DefinitelyTyped

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.

For PRs, run against master when type's external dependency is updated

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:

  1. Storing the version of each dependency used when persisting a benchmark
  2. Retrieving the version of each dependency for the prior benchmark
  3. In 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.

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.