Code Monkey home page Code Monkey logo

Comments (8)

hoeck avatar hoeck commented on June 20, 2024 1

@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.

hoeck avatar hoeck commented on June 20, 2024 1

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.

moltar avatar moltar commented on June 20, 2024

Hm, that works for me 🤷🏼

What exactly are you seeing? 404? bad code?

from typescript-runtime-type-benchmarks.

samchon avatar samchon commented on June 20, 2024

Screenshot_20230620_000022_Chrome

Like this

from typescript-runtime-type-benchmarks.

moltar avatar moltar commented on June 20, 2024

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.

hoeck avatar hoeck commented on June 20, 2024

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.

samchon avatar samchon commented on June 20, 2024

@hoeck Wow, you've commented at the same time.

@moltar - If @hoeck founds better way, please discard my PR.

from typescript-runtime-type-benchmarks.

samchon avatar samchon commented on June 20, 2024

@moltar @hoeck Components are not sorted by rank (or graph is mis-drawn?).

image

from typescript-runtime-type-benchmarks.

Related Issues (20)

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.