Skip to content

Conversation

@PanovYury
Copy link
Contributor

@PanovYury PanovYury commented May 5, 2025

I suggest my own version of fixing the oak framework. It's interesting to look at the tests for this framework, so I have made some changes:

  1. Updated deno to version 2.3.1. This version includes optimizations for Deno serve
  2. Updated oak to the latest version.
  3. Replaced cotton with postgresjs. Cotton was last updated 4 years ago and does not work with Deno 2.
  4. Created a deno.json file instead of deps.ts.
  5. Use deno install --entrypoint instead of cache. deno cache has been deprecated.
  6. Use deno serve with --parallel flag. This is used in Deno tests already
  7. Split configurations like other frameworks: only oak and oak + postgresjs

P.s. Code for postgresjs copied from fastify.

Verification tests works localy
Снимок экрана 2025-05-03 132923

@msmith-techempower msmith-techempower merged commit 984876a into TechEmpower:master May 5, 2025
4 checks passed
litongjava pushed a commit to litongjava/FrameworkBenchmarks that referenced this pull request May 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants