-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement PerformanceObserver #4708
Comments
This is currently the only blocker for us to start using Bun 💯💯💯 |
I would like to support @kristofgazso . For our company it's also the single blocker. |
This is our only blocker as well. |
Only blocker as well. Getting the error when trying to run our Fastify server, due to the fact that we are using fastify-metrics, that also uses prom-client. |
Yep, us too, we would have to rewrite a bunch of container apps or remove prom-client |
Hey @Jarred-Sumner. I'd like to maybe give Zig a shot and try implementing this feature in Bun. Keep in mind, I never wrote Zig, nor I ever contributed to this repository, but it would be great to have an excuse. Beside setting up the Bun development environment, could you give me a guideline or two where to start looking. Thanks |
For us it would also be really important :D We would like to see Bun Performance in our reports 😎 |
This is a blocker for my project too. I would love to contribute. |
This is a currently the only blocker for https://github.com/0xOlias/ponder too. Ponder uses |
Bun is a prime candidate for replacing Node for microservices I am working on. By commenting out |
Also a blocker for us. Can't remove Prometheus. |
Last blocker for Planfred to run on bun |
Love to see it soon. |
The good news is we can almost entirely re-use the implementation from Safari for this API. I think this would mostly look like:
I don't love this approach because it would be nice to emit various events from zig. I also don't love how many memory allocations are involved in WebKit's implementation. |
Any movement on this? |
yes, will this happen?
…On Thu, 21 Dec 2023, 9:10 pm Aleksandar Grbic, ***@***.***> wrote:
Any movement on this?
—
Reply to this email directly, view it on GitHub
<#4708 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABJ7RUEFNOEKLZORFH2ZN6DYKQYNLAVCNFSM6AAAAAA4RRQSYOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRWGIYTONBTHE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Hi, any news on that? Thanks a lot!!! |
This will ship in Bun v1.0.22, thanks to @gvilums |
can this issue be reopened @Jarred-Sumner , I tried to run bun , but its kicking off this error both in windows and docker environments
here is the link to the source code which I wanted to run |
|
What is the problem this feature would solve?
It would be great if Bun could implement the PerformanceObserver which seems to be required for using the prom-client package.
EDIT: turns out this is only required when
collectDefaultMetrics
is called on the client.What is the feature you are proposing to solve the problem?
Implementation of the PerformanceObserver which is currently not implemented
What alternatives have you considered?
None yet, I'm very new to the ecosystem.
The text was updated successfully, but these errors were encountered: