TechEmpower logo

FrameworkBenchmarks

Source for the TechEmpower Framework Benchmarks project (by TechEmpower)

Stats

Basic FrameworkBenchmarks repo stats
21
5,733
9.6
5 days ago

TechEmpower/FrameworkBenchmarks is an open source project licensed under GNU General Public License v3.0 or later which is an OSI approved license.

FrameworkBenchmarks Alternatives

Similar projects and alternatives to FrameworkBenchmarks
  • GitHub repo crystal

    The Crystal Programming Language

  • GitHub repo web-frameworks

    Which is the fastest web framework?

  • GitHub repo go

    The Go programming language

  • GitHub repo Vert.x

    Vert.x is a tool-kit for building reactive applications on the JVM

  • GitHub repo lucky

    A full-featured Crystal web framework that catches bugs for you, runs incredibly fast, and helps you write code that lasts.

  • GitHub repo benchmarks

    Some benchmarks of different languages

  • GitHub repo dotnet-script

    Run C# scripts from the .NET CLI.

  • GitHub repo proposal-temporal

    Provides standard objects and functions for working with dates and times.

  • GitHub repo context-switch

    Comparison of Rust async and Linux thread context switch time.

  • GitHub repo runtimelab

    This repo is for experimentation and exploring new ideas that may or may not make it into the main dotnet/runtime repo.

  • GitHub repo KumbiaPHP

    Fast and easy PHP framework

  • GitHub repo slatekit

    Kotlin Server Framework for Apps, APIs, CLIs, Jobs, Mobile and more...

  • GitHub repo tigerbeetle

    A purpose-built financial accounting database, designed for high-throughput low-latency two-phase prepare/commit transfers between accounts.

  • GitHub repo coroutine

    Cooperative multitasking using generators. The basics of coroutines, async and await!

  • GitHub repo Reddit

  • GitHub repo rust-postgres

    Native PostgreSQL driver for the Rust programming language

  • GitHub repo Helix

    Native Ruby extensions without fear

  • GitHub repo Ebean ORM

    Ebean ORM

NOTE: The number of mentions on this list indicates mentions on common posts. Hence, a higher number means a better FrameworkBenchmarks alternative or higher similarity.

Posts

Posts where FrameworkBenchmarks has been mentioned. We have used some of these posts to build our list of alternatives and similar projects - the last one was on 2021-04-11.
  • Stop Using JPA/Hibernate
    news.ycombinator.com | 2021-04-11
    I included the steady state for quarkus because its memory usage (perhaps due to a config flag starting it with a 4GiB heap?) started out extremely high and decreased over the course of the run. That likely affects the standard deviation, which I included to highlight that I didn't try to cherry-pick results.

    Perhaps the funniest thing to me digging into it is, again due to the absurdity of Java's design decisions, to make sure that "Integer" objects are efficient, the Java benchmarks use the command line parameter "-Djava.lang.Integer.IntegerCache.high=10000". This tells you that if the benchmark used a wider range of random values[5], performance would degrade. Have you ever heard of a language requiring an integer cache? It's absurd to me that Java, rather than implement value types, requires Integers to be interned for performance.

    Are there any other languages in the TechEmpower benchmark or the Debian benchmark game (formerly went by another name) that requires setting an "IntegerCache" to optimize... allocating integers? I mean, come on. You can't tell me this is a language that was designed for performance when integers can't be directly stored in arrays and instead have to be autoboxed and a cache is needed to intern them!

    [1] Raw results from https://tfb-status.techempower.com/unzip/results.2021-01-13-...

    [2] - You can see they have simply hardcoded the SQL. See: https://github.com/TechEmpower/FrameworkBenchmarks/blob/mast...

    [3] https://github.com/TechEmpower/FrameworkBenchmarks/blob/mast...

    [4] https://github.com/TechEmpower/FrameworkBenchmarks/blob/mast...

    [5] The update benchmark only requires random numbers between 1 and 10,000. Performance of Java apps would degrade if they were asked to use boxed integers greater than 10,000, which is possibly the most absurd statement I have said of any programming language ever. See: https://github.com/TechEmpower/FrameworkBenchmarks/wiki/Proj...

    news.ycombinator.com | 2021-04-11
  • Tips on improving my Confidence in coding?
    reddit.com/r/csharp | 2021-04-07
    Read code from real projects on GitHub. This will help you spot techniques, patterns and language features you might not be familiar or comfortable with. Focus on understanding the code and recognizing patterns, rather than on why they took that approach at first, as it is often fairly difficult to determined without some outside context. For web one good example is the techempower benchmarks. They are somewhat basic in functionality, but use a lot of techniques to maximize performance which serves this purpose well. I'm not very familiar open source games, but you will likely find some if you look. It can be difficult to just dive in to larger ones, so try to focus on answering specific questions, like how a specific feature works, or how you can put the same feature in your project.
  • Questions related to SAPI
    reddit.com/r/PHPhelp | 2021-04-07
    Thanks, Yes, I now remember seeing it here https://www.techempower.com/benchmarks/#section=data-r19&hw=ph&test=fortune&l=zijzzz-1r, I don't understand why it's not so famous, I'm now using Symfony. And it is extremely slower compared to
  • Django 3.2 – News on compressed fixtures and fixtures compression
    news.ycombinator.com | 2021-04-06
    If it wasn't for Haskell's IHP framework then Django, Ruby on Rails and CakePHP would be fighting to come dead last in the techempower composite benchmark https://www.techempower.com/benchmarks/#section=data-r20&hw=...

    Django, RoR - they're almost 2 orders of magnitude behind the fastest frameworks on the composite test and they're an order of magnitude behind the majority of Java / Go - i was going to say C# here but i see asp.net is much faster than the surprisingly homogenous performing "usual suspects" of enterprise web frameworks.

    And yet, if i had to launch a site tomorrow, it'd be Django i'd reach for - and with zero hesitation. Instagram, Youtube, Github, Facebook, Dropbox etc. etc. all launched on these "slowest of the slow" stacks and then optimised. Did anyone start out on a lithium (c++) or actix (rust) or other incredibly high performance stack?

    This is all a big diversion anyway, I think these benchmarks measure the wrong thing entirely. Instead - show me some measure of how easy & cheap it will be for me to change or add a behaviour to my site 3 years down the road if i've stuck to the prescribed idiomatic approach.

    news.ycombinator.com | 2021-04-06
    Looking techempower's benchmark code, specifically the "dbs" and "update" functions (which are weighted highly), I think there's some optimization that could be done, like using .values() and .update() in more places.

    https://github.com/TechEmpower/FrameworkBenchmarks/blob/mast...

    Django ends up getting benchmarked against "uvicorn" which just uses raw sql, so yeah, of course it's faster! :) You're free to use raw sql in Django too. :)

    https://github.com/TechEmpower/FrameworkBenchmarks/blob/mast...

  • Blazor is here for you! Especially for .NET developers that have mostly worked in backend systems or/and in older and sometimes legacy web-frontends (such as WebForms, MVC, HTML + jQuery, etc.) and do not want, or do not have the time to learn a client-side JavaScript framework.
    This means you're likely using an ASP.Net Core backend, and there's a lot of reasons why that backend is preferable at times, with one being performance, it's ranked 8 but packs a lot of functionality for a web server compared to the ones above it. There are things you can't just compile to JS with .Net either (e.g. Expression Trees) which are used heavily for serialization and validation libraries that you may use in the backend (e.g. FluentValidation)
  • Is there any hard evidence that functional programming is better?
    One benchmark I know of is Tech Empower, and the fastest framework written in a functional language is only a quarter as fast as the fastest one overall. This is a good measure that I did not give as much attention as I should have.
  • Asynchronous PHP — Multiprocessing, Multithreading & Coroutines - Diving Laravel
    reddit.com/r/PHP | 2021-04-02
    It's faster than Swoole and ReactPHP on https://www.techempower.com/benchmarks/
  • Crystal 1.0 vs Ruby 3.0 Benchmark
    It does shine in the Techempower Benchmarks
  • A Scala rant
    reddit.com/r/scala | 2021-03-31
    http4s is the worst web server on the JVM. It's very slow. It suffers from NIH syndrome so has a poor feature set. And you see code like this to do basic things like authentication e.g.
    reddit.com/r/scala | 2021-03-31
    I updated http4s for those benchmarks, https://github.com/TechEmpower/FrameworkBenchmarks/pull/6040
  • C# 9 top-level programs and target-typed expressions
    news.ycombinator.com | 2021-03-30
    How so? .NET is 2-4x faster than Scala in benchmarks (https://www.techempower.com/benchmarks/#section=data-r20&hw=...). Do you just prefer the syntax and language features?
  • What would you use to start a new HTTP + SSR project with Java today?
    reddit.com/r/java | 2021-03-28
    [3] https://www.techempower.com/benchmarks/#section=data-r20&hw=ph&test=fortune
  • I finally escaped Node (and you can too)
    Hmm, slow compared to what? I know the flaws of benchmarking but: this site tries to benchmark a ton of frameworks and in composite scores a JS framework sits comfortably at the 2nd place between two C++ ones. There are quite a few problems with JS but slow it isn't :)