cognetwork-dev / Metallic

A powerful web proxy built for speed and customization.
https://metallic.eu.org/
GNU Affero General Public License v3.0
162 stars 825 forks source link

Any possibility a switch to bun would work? #35

Closed JarzaCode closed 3 weeks ago

JarzaCode commented 2 months ago

I'm not recommending you completely redo all of the code, but I've run benchmarks running with bun vs pnpm, and bun is 2x faster. To my understanding, this proxy is heavily speed-focused, and a large increase in that would be great. I have also tested, and changing some things, like tests, to bun-native code, changes the time from around 1 second of testing to 0.02 seconds. I would be willing to help make the transfer, I just would like to know if it could be placed on the roadmap.

Thank you!

Nebelung-Dev commented 3 weeks ago

Although I appreciate the work you put into this I am going to keep it a Node.js project instead of Bun or Deno just because the majority of users use Node.