Skip to content

Conversation

@peter-leonov
Copy link
Contributor

Hi, thanks for creating this awesome benchmark!

I've come up with yet another tool that helps with creating type predicates. Last year was rich on them, ha? 🙂

In this PR I'm adding this tool to the suite. Here is the source code: https://github.com/peter-leonov/typescript-predicate-generator

Let me know if I need to adjust something 🚀

@peter-leonov
Copy link
Contributor Author

Tested in a fresh Github CodeSpace:

nvm i 22
npm i
npm run start run type-predicate-generator

Outputs:

Running "assertLoose" suite...
Progress: 100%

  type-predicate-generator:
    79 943 597 ops/s, ±4.06%   | fastest

@peter-leonov peter-leonov marked this pull request as ready for review January 12, 2025 11:46
@moltar
Copy link
Owner

moltar commented Jan 12, 2025

I think the build script needs to be included in the CI build step.

@peter-leonov
Copy link
Contributor Author

For future reference, how I'm debugging the CI errors:

  1. spin up a fresh github code space
  2. nvm i 16
  3. follow the pr.yml steps in the code space terminal

@peter-leonov
Copy link
Contributor Author

@moltar seems like it's working in a code space, you could try the CI again if you have a moment.

@DarkGL DarkGL merged commit 6867827 into moltar:master Jan 13, 2025
8 checks passed
@peter-leonov peter-leonov deleted the peter-leonov/add-ts-predicate-generator branch January 13, 2025 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants