Comments (4)
So it seems that the problem was that I'm on Windows, which doesn't support the shebang code on top of ts-node's bin.js
file. I guess this also explains why this file was randomly opening up on my text editor. The way I solved it was by changing this line to this:
const cmd = ['node', ...process.argv.slice(0, 2), 'run-internal', c];
But I'm not sure if that'll work the same on Linux although I think it should.
Anyway, I just sent pull request #902 with the new to-typed
case. I didn't include the change above since that's a separate issue, but feel free to use that code if it work's on Linux too.
from typescript-runtime-type-benchmarks.
Happy to help with this but I haven't figured out how to work with this library. I downloaded the package and tried to add a dummy case in the cases folder by cloning one of the existing ones. I also added it to cases/index.ts
and did npm run test
, npm run docs:build
and npm run docs:start
but keep seeing the old cases only. Did I miss any step?
from typescript-runtime-type-benchmarks.
@jsoldi looks like you forgot to run the actual benchmarks with npm run start
? That will run all cases, write the results to docs/results
, which is then shown in the docs ui.
For development, you can also choose which cases are benchmarked by using npm run start run <your-package-name> <another-package-name>
.
Also, for your cases to be picked up by the tests you'll need to manually import it here: https://github.com/moltar/typescript-runtime-type-benchmarks/blob/master/test/benchmarks.test.ts
from typescript-runtime-type-benchmarks.
@jsoldi ah, thanks for that. Good to know! Will move that into an issue.
from typescript-runtime-type-benchmarks.
Related Issues (20)
- Add `vality` HOT 2
- feat(package): `parse-dont-validate` HOT 2
- Failing build HOT 1
- How do I add a testcase (Request: Documentation on that) HOT 5
- Add `@Typia` HOT 3
- Suggest: add a table whether each type can be validated or not HOT 3
- Add `caketype`
- Add `@fp-ts/schema`
- Add `@gapstack/light-type` HOT 4
- Add `arktypeio/arktype` HOT 2
- Node 20 HOT 2
- Preview SVG image has been broken HOT 8
- Show operations/s as a number for each benchmark HOT 3
- Show weekly npm downloads for each package HOT 2
- Add `valibot`
- Include failing data in the benchmarks HOT 5
- ParseSafe for Zod calls parse() not safeParse() HOT 1
- Categories for AOT, JIT and Dynamic Validation HOT 5
- I don't really quite understand the categories... HOT 2
- Add Effect-TS schema
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from typescript-runtime-type-benchmarks.