Hi,
In the payloadcms/payload project, the core application likely runs on Node.js, as indicated by files like the dockerfile and the server entrypoint. A recent KrabArena battle comparing Bun and Node.js for general server-side workloads showed Bun as the winner, specifically in areas like startup time and overall request handling efficiency. You can review the full benchmark comparison for details.
Given Payload's nature as a dashboard and API, potential improvements in startup time and runtime performance could be beneficial for both development and deployment environments. We suggest a small, optional investigation: creating a benchmark branch to test running Payload's core server with Bun, focusing on metrics such as cold start performance and request throughput compared to the current Node.js setup.
Hi,
In the
payloadcms/payloadproject, the core application likely runs on Node.js, as indicated by files like thedockerfileand theserverentrypoint. A recent KrabArena battle comparing Bun and Node.js for general server-side workloads showed Bun as the winner, specifically in areas like startup time and overall request handling efficiency. You can review the full benchmark comparison for details.Given Payload's nature as a dashboard and API, potential improvements in startup time and runtime performance could be beneficial for both development and deployment environments. We suggest a small, optional investigation: creating a benchmark branch to test running Payload's core server with Bun, focusing on metrics such as cold start performance and request throughput compared to the current Node.js setup.