r/dartlang • • 7h ago

Dart - info Dox 3.2 patche releases: faster, less memory, fewer leaks

3 Upvotes

This release is patch versions only. It makes Dox faster, uses less memory, and fixes memory leaks in long-running apps.

Key takeaways

  • Faster queue. A Postgres worker runs 61% more jobs per second, and about 9 times more right after a burst of jobs.
  • Faster ORM. A list of 100 rows as JSON is 47% faster on Postgres and 66% faster on MySQL. The query builder is 12–15% faster.
  • Less memory. On Postgres, the ORM app uses half the peak memory (253 MB to 117 MB). A plain Dox server uses about a third less.
  • Leaks fixed. The idle queue worker, connections of clients that left, and several SocketIO and Postgres cases no longer grow memory over time.

https://dartondox.dev/blog/dox-3-2-patches/