ckhrysze

ckhrysze

I really have no idea how popular or well known these benchmarks are, but I’ve been following TechEmpower Framework Benchmarks for some time. I was happy to see some elixir/erlang entries recently, but then concerned with their performance. Given that phoenix at least has a high error count, I imagine that is at least part of the issue. I intend to take a look when I both learn enough to feel useful and get the chance, but I’m posting it here in case there are others more able that have the bandwidth to improve things sooner.

I understand that abstract benchmarks are always of only limited use, and each project will have its own performance characteristics; but performing well in a 3rd party (and theoretically unbiased) suite like this could help with adoption.

Showing Posts 129 to 120

DevotionGeo

DevotionGeo

Of course one should also consider things like that while choosing a technology, than thinking about only the performance.

mmmrrr

mmmrrr

Ah - my bad :confused: I’m sorry…

And thanks again for the link. I hadn’t seen those docs :slight_smile:

sribe

sribe

God help you if you ever have to deal with a significant Hapi upgrade…

DevotionGeo

DevotionGeo

If you compare Phoenix with Hapi instead of the micro frameworks like Express or Koa or the vanilla Node, the results will be very different.

Phoenix beats it in 5 out of 6 tests.

Even Hapi isn’t a fullstack framework like Phoenix, as it’s classified as Micro framework at the website (correct me if I’m wrong).
If you benchmark Phoenix against Sails.js (which is a fullstack Rails like framework), that will show even poorer performance. I remember it did. Sails.js isn’t part of Techempower benchmarks anymore. Looks like the core team of Sails.js requested them to remove it from the benchmarks.

Also, micro-benchmarks aren’t the true representation of the real world situation.

wolfiton

wolfiton

I agree with this point of view.

mikl

mikl

Not trying to say performance doesn’t matter (it does, for sure), but just that these benchmarks don’t necessarily provide a lot of useful information about how a real-world app built with these tools would perform.

Just because a tool can deliver “hello world” to hundreds of thousands of concurrent users doesn’t mean it’ll still be fast once you’ve built an app on top of it.

AstonJ

AstonJ

I would love to see other frameworks/languages put together meaningful tests/benchmarks such as the Phoenix test where Chris and co managed to get 2 million connections on a single server :003:

Perhaps someone could compile a list of such tests… surely Phoenix isn’t the only framework that has put this to the test?

kelvinst

kelvinst

@wolfiton, I guess that @mikl’s point is that this type of benchmark is kind of useless because they do not reflect real life use cases, but there are benchmarks that help indeed.

IMO, the only reason I think we should pay attention to those benchmarks and how Elixir goes on it, is that a LOT of people do care about them, so going bad on them is bad for Elixir’s image.

I agree they do not represent the reality, but the bad news is that these people really think they do, and some of them are really loud.

wolfiton

wolfiton

@mikl don’t agree with this point of view.

If we take ruby on rails for example as a framework then as a developer you spend a lot of time at tuning your app to be fast then on adding more features.

So a benchmark may be a good thing to see what to expected in different scenarios from your chosen framework.

Also I am sure that you are not going to rewrite the framework that you are currently using, so you will be bound by it’s limitations

mikl

mikl

Synthetic benchmarks like these are almost useless.

Unless you’re just serving up static content (and if you are, why use Elixir?), the raw server speed is not really important, since the determining factor for your app performance (speed and scalability both) will be your custom app code, not the framework itself.

Where Next? Top

Trending in Discussions Top

AstonJ
As the title says, please share what you’ve been up to with Elixir. Whether that’s been learning it, looking into it, making stuff with i...
2977 94592 917
New
cblavier
Hey there, It’s been more than a year since we started using LiveView as our main UI library and building a whole library of UI componen...
New
mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
heathen
Quite interesting article Google brought me. Didn’t find any mentions about it here. What do you think in general? Would you use togethe...
New
mhanberg
Hi everyone! The first release candidate for the Expert language server project is now available! We’ve published a press release detai...
New
axelson
Hi there! :wave: @frigidcode and I (but mostly him) have been running an Elixir Book club, we’re almost done with Designing Elixir Syste...
New
AstonJ
Since we have deprecated our Erlang sections (as we have dedicated Erlang Forums now) let’s add this thread for those who’d like to post ...
New

Other Trending Topics Top

GenericJam
Edit: 2026 May 15 - This post is archived. Mob is alive!! Main docs: mob v0.7.11 — Documentation A bit of explanation for the slightly c...
New
JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
georgeguimaraes
Just published claude-code-elixir, a plugin marketplace for Claude Code with Elixir support. These are the plugins I’ve been using for my...
New
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews