Closed 7Silva closed 1 month ago
Somehow this issue escaped from my radar. I'll take a look at it asap.
Looks good to me, need to be updated, I can take care of it.
Looks good to me, need to be updated, I can take care of it.
Fixed the failing build (the package files weren't in sync, updated it with npm install
and tested the changes locally). Rebase and merge seem to be blocked (can we use Squash & merge here @mirkobrombin? Or is there any other changes that you want to implement?)
Squash and merge is fine
Hello Vanilla-OS team,
In this pull request, I implemented Fastify and removed Express. I made this change because Fastify is much more optimized for requests than Express. Below, I will leave some benchmark screenshots, but you can also see others and do your own tests. The main changes include:
I did not change any logic behind the system, I just made this replacement and added some very useful options to Fastify, such as:
I created an
index
file that already creates the Chronos file and th en starts the server. I thought about doing a check in theindex
to see if there is an existing Chronos configuration and, if there is, not to generate it again. However, I don't know if this would be useful for you, so I decided not to do it.Overall, these are the changes that were made. I hope they are useful and I look forward to your feedback.
Express Server:![Express](https://github.com/Vanilla-OS/chronos-frontend/assets/88872552/4e2c39d2-49c2-4766-845a-4f8e582f7306)
Fastify Server:![Fastify](https://github.com/Vanilla-OS/chronos-frontend/assets/88872552/2e6118fc-bf22-4e49-a30b-555e58a36a43)