Lucky is Lightning Fast!

TechEmpower Benchmark #20 results prove Lucky Framework's impressive speed

lucky-framework-benchmark.png

TLDR: Lucky Framework (Crystal) ranks near the top in TechEmpower Benchmark #20, competing strongly against full-stack frameworks like Rails, Phoenix, and Django.


TechEmpower just posted Round #20 of their Web Framework benchmarks and Lucky Framework (that runs on Crystal Language) is in it, thanks to work done by @matthewmcgarvey (Great job on the benchmark!).

Pretty solid result! Especially if you only consider “Full-stack” frameworks and not micro-stuff.


Key Takeaways

1. Lucky is near the top in Crystal-land (and beyond)

In the Crystal ecosystem, Lucky ranks near the top. And in the broader web framework landscape too.

2. Crystal frameworks dominate speed

The main speed-competitor in Crystal-land is Raze framework (which has been retired). Lucky’s speed is comparable to most other Crystal frameworks: Kemal, Spider-Gazelle, Onyx & Amber (all did pretty well on speed thanks to Crystal 😊)

3. Lucky holds its own against full-featured frameworks

The most important comparison for me is against true full-featured frameworks like Rails, Hanami, Phoenix, Django, Symphony, Grails, Spring, Prologue, etc. And Lucky is doing really well there.


Filtering the Noise

If you go to the main page, there are ~250 benchmark results for every web-framework under the sun. However, that’s too many results for my taste 😊 i.e. things like “h2o.cr” on the list are too purpose-specific for me or anything I would do in a normal course of things, developing an enterprise or user-facing web application.

I’m currently considering a Full-Stack Framework for a small web-based enterprise-type project and deciding between Phoenix, Lucky & Rails. Each has its own strengths for my use-case. So this particular comparison is more of an interest to me, based on frameworks & languages that I’ve had exposure to or would even consider for such an application.

TechEmpower Benchmark comparison showing Lucky Framework performance against Rails, Phoenix, Django and other full-stack frameworks

Take a look at the benchmark, and I hope you give Lucky Framework a spin.


Disclaimer

⚠️ Take These Benchmarks with a Grain of Salt

  1. Not all frameworks are properly optimized - Some frameworks on the list may not be configured for optimal performance
  2. Speed is only one aspect - Performance should be one consideration among many
  3. Ecosystem matters more - Ecosystem, dev experience, and productivity are all more important than speed in most cases
  4. Having said that ☝️ - Lucky ticks all 3 boxes for me

Resources


Originally published: dev.to/konung/lucky-is-fast-2gpp


Last updated: February 9, 2021

crystal lucky benchmarks rails performance web frameworks