Skip to content

Performance

Isolate groups: each isolate gets its own memory

Dox can now give each server isolate its own heap and its own garbage collector. One flag turns it on. In our test, the same app did 9% more requests a second, and 18% more with three settings of the Dart VM. The flag is off by default, so an app that does not turn it on works the same as before.

What makes Dox fast

Dox is fast because your Dart code runs as a compiled binary, the network and database work happens in native code on the same thread, and most of the setup work is done once at build time or at start.