You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here is the repo. Copy the excel file in the repo and initialize a git repo and commit something in it.
Run bun index.js and make changes to this excel file and save it. The scripts runs and gets the commit_id of the git repo you have initialized where the excel file is and copies it into a dist folder and reads the commit_id, loads the workbook and writes the commit_id to the file.
As you can see here bun is much slower than nodejs in this case.
Reading and Writing excel files by exceljs should be within acceptable range. Right now it takes 30 seconds to read and 30 seconds to write. In comparison nodejs takes about 30ms to read and write each.
What do you see instead?
Additional information
No response
The text was updated successfully, but these errors were encountered:
I'm using exceljs in production, I never thought that Bun was slower than node in this library.
My microservice is using Bun.file and others Bun APIs 🙁 It will be difficult, but I think I have to do a POC with Node.
What version of Bun is running?
1.1.28+cf4e9cb69
What platform is your computer?
Microsoft Windows NT 10.0.22631.0 x64
What steps can reproduce the bug?
https://github.com/yashone7/bun-artifacts-sync
Here is the repo. Copy the excel file in the repo and initialize a git repo and commit something in it.
Run
bun index.js
and make changes to this excel file and save it. The scripts runs and gets the commit_id of the git repo you have initialized where the excel file is and copies it into a dist folder and reads the commit_id, loads the workbook and writes the commit_id to the file.As you can see here bun is much slower than nodejs in this case.
![Screenshot 2024-09-19 125701](https://github.com/user-attachments/assets/295f526a-e04d-485d-9ca8-0bcec484381d)What is the expected behavior?
Reading and Writing excel files by exceljs should be within acceptable range. Right now it takes 30 seconds to read and 30 seconds to write. In comparison nodejs takes about 30ms to read and write each.
What do you see instead?
Additional information
No response
The text was updated successfully, but these errors were encountered: