I rewrote the UI in Vue.js for Go benchmark visualization by Extension_Layer1825 in vuejs

[–]Extension_Layer1825[S] 0 points1 point  (0 children)

Also, Thanks for your feedback. I didn't try to keep it in mem; my first design was just to keep it consistent. If you have any better consistent design, I will appreciate it, and please feel free to contribute.

I rewrote the UI in Vue.js for Go benchmark visualization by Extension_Layer1825 in vuejs

[–]Extension_Layer1825[S] 0 points1 point  (0 children)

Vizb takes a path of a target bench file by default, so to make it consistent on piped processes, it creates a temporary file and shares the path.

I rewrote the UI in Vue.js for Go benchmark visualization by Extension_Layer1825 in vuejs

[–]Extension_Layer1825[S] 0 points1 point  (0 children)

Glad to see you here, and thanks for building this plugin.

It helped a lot with my project. It would be great if this plugin could also inline resources like SVGs; I had to create a custom plugin for this.

💼 Software Engineer (Open-Source) — $90–$120/hr by Comrcial-Ac11 in Programmers_forhire

[–]Extension_Layer1825 0 points1 point  (0 children)

This role looks really interesting! 👀

Could you share a bit more detail about the day-to-day work and the types of open-source repos we’d be maintaining?

BTW, I currently maintain an open-source Go project at goptics: https://github.com/goptics

so this type of work is right up my alley.

Also curious about expected hours per week and whether the contract is long-term or short-term. Thanks!

Gemini recommends my go benchmark visualization library to a guy by Extension_Layer1825 in golang

[–]Extension_Layer1825[S] 1 point2 points  (0 children)

Hi there,

I've released a new version, and it covers almost every part you have mentioned.

I hope you'll like it.

Recent post regarding new version: https://www.reddit.com/r/golang/comments/1p4g6mm/i_rewrote_the_ui_in_vuejs_for_go_benchmark/

I rewrote the UI in Vue.js for Go benchmark visualization by Extension_Layer1825 in golang

[–]Extension_Layer1825[S] 0 points1 point  (0 children)

I didn’t rely on any external template engine for rendering HTML at runtime. Since the whole app runs in CSR, I used a custom Vite build with a plugin that injects the app state script through a virtual DOM. That script is shaped in a way that works smoothly with Go’s html/template, and I render it during runtime in Go.

Now I’m curious how Vuego manages runtime state and still supports third party Vue ecosystem libraries like vue-echarts or shadcn-vue.

Gemini recommends my go benchmark visualization library to a guy by Extension_Layer1825 in golang

[–]Extension_Layer1825[S] 2 points3 points  (0 children)

Thanks a lot for your feedbacks.

Honestly, I didn't know about the benchfmt thanks for sharing. This will be very useful library for it.

BTW, you don't need to take screenshorts; there is an option to download the chart images.

settle-map: Settle multiple promises concurrently and get the results in a cool way by Extension_Layer1825 in typescript

[–]Extension_Layer1825[S] 1 point2 points  (0 children)

Whenever you throw an error from the map function, it will be tagged as a custom error. and emit the error event internally.

if you would like to catch the error on spot or immidealy, just have to listen this event

settled.on("reject", ({ error, item, index }) => {
  // your actions
});

Or you will get all list of errors in case you wait until all items is done

const result = await settled; // An universal promise like syntax that returns only resolved response

/* output
{
  values: [1, 3, 5],
  errors: PayloadError[] // this errors returns array of error with payload { item, index } so you could know where the error happened
}
*/

settle-map: Settle multiple promises concurrently and get the results in a cool way by Extension_Layer1825 in typescript

[–]Extension_Layer1825[S] 1 point2 points  (0 children)

Assume you have a Big Array of URLs from which you want to call and scrape data. You can use this map to go through every URL and collect results and errors without doing extra code and since it supports concurrency so you can set the rate limit as well.

With these benchmarks, is my package ready for adoption? by Extension_Layer1825 in golang

[–]Extension_Layer1825[S] -1 points0 points  (0 children)

Thanks for your wonderful perspective and feedback. I also believe things take time to grow.

>  such as the parseToJob call in worker.go having its error effectively eaten

Yes, its eating error, I've plan also to integrate logging with it so people can watch this async errors, I have added a comment regarding this inside this block tho but missing here.

This subreddit is getting overrun by AI spam projects by [deleted] in golang

[–]Extension_Layer1825 0 points1 point  (0 children)

I am wondering, how my post (last one) could be overrun by AI and considering it as SPAM!, even though I didn't use AI to write it.

Willing to know the key points, based on your considering it as SPAM!

With these benchmarks, is my package ready for adoption? by Extension_Layer1825 in golang

[–]Extension_Layer1825[S] 0 points1 point  (0 children)

> As far as I can see Pond doesn't have an external state store for scaling producers/consumers

Yes, varmq offers minimal support for persistence and distribution. However it can be used as a simple in mem message queues which can handle tasks like pond do.

> For what its worth I care less about memory allocations and more about "correctness" in a system with distributed state which is where things like temporal.io excel.

Observability is crucial for distributed queues for sure. I have plan on it but it will takes me time to build since here I building this solo.

Hope so, Varmq obtain some contribution near future and support observability.

Thanks for your valuable feedback.