Skip to content

Conversation

@SIRHAMY
Copy link
Contributor

@SIRHAMY SIRHAMY commented Apr 2, 2025

Updating FSharp Falco benchmark to improve its performance.

Context

  • Falco has been trailing Giraffe even though they are both similar under the hood.
  • Giraffe uses Dapper instead of a raw Npgsql connection / command for data reads (github)
  • So here we move to Dapper to make the benchmark more similar to Giraffe's

Results

Running this locally: ./tfb --test falco

  • Original fortunes - 512 connections @ 109k requests / second
  • New with Dapper - 512 connections @ 160k requests / second (46% increase)

All verifications pass:

image

@SIRHAMY
Copy link
Contributor Author

SIRHAMY commented Apr 2, 2025

cc @pimbrouwers (Falco maintainer) in case you want to review / make changes

@pimbrouwers
Copy link
Contributor

You da man! Thank you for this. Makes this much more apples to apples.

@msmith-techempower msmith-techempower merged commit 40b97c5 into TechEmpower:master Apr 4, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants