Comments (8)
@hoeck Wow, you've commented at the same time.
😁
@moltar - If @hoeck founds better way, please discard my PR.
nah, to be honest with you, I don't like having stuff break by updating dependencies.
BUT (huuuuge BUT) it needs to be done. Otherwise it will get harder and harder and finally next to impossible to update anything. So, thanks for pushing this forward 👍.
And in this case, it seems the preview generation is broken because the way I generate the data that is passed to vega-lite. Looks like that only worked because of some undocumented internal behavior in versions before 5.
from typescript-runtime-type-benchmarks.
Components are not sorted by rank (or graph is mis-drawn?).
@samchon right, unfortunately that is a limitation of the "repeated bar graph" of vega-lite that I am (ab)using here.
Vega-lite expects that each single bar graph contains the same libraries - but I want only the fastest 3 so each chart contains a different set. Applying sorting will cause each library to appear in every chart.
An alternative would be to generate a different chart (e.g. a combined bar chart) or to create 4 separate preview SVGs (one for each benchmark) to include in the readme.
Maybe the latter wouldn't look too bad when it's made in the format of a banner.
from typescript-runtime-type-benchmarks.
Hm, that works for me 🤷🏼
What exactly are you seeing? 404? bad code?
from typescript-runtime-type-benchmarks.
Like this
from typescript-runtime-type-benchmarks.
Ah, you are right. I didn't even notice the top-right graph missing. Was so focused on thinking that the file was corrupt.
@hoeck Any ideas?
from typescript-runtime-type-benchmarks.
Seems to be because of a vega-lite major version upgrade: ab324e2#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519R76
I'll see if I can find a quick way to get that preview work with the new version.
from typescript-runtime-type-benchmarks.
@hoeck Wow, you've commented at the same time.
@moltar - If @hoeck founds better way, please discard my PR.
from typescript-runtime-type-benchmarks.
@moltar @hoeck Components are not sorted by rank (or graph is mis-drawn?).
from typescript-runtime-type-benchmarks.
Related Issues (20)
- 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
- 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 HOT 2
- ahead-of-time clarification HOT 3
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.