HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
trailbaseio
trailbase-benchmark
TypeScript2025–2025
trailbaseio / trailbase-benchmark

trailbase-benchmark

Discover this repository through its Hacker News conversations.

2Distinct people
3Mentions
0Explicit recommenders
6GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

A public description has not been verified.

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

Mentioned in the same Hacker News threads. That is not proof they are substitutes.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 1:49:46 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by hour3 dated mentions

Observed mentions: 2025-02-04 22:26:22 UTC to 2025-02-05 13:47:40 UTC.

0122025-02-04 22:00:00 UTC to 2025-02-04 23:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsFeb 4, 22:002025-02-04 23:00:00 UTC to 2025-02-05 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-02-05 00:00:00 UTC to 2025-02-05 01:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-02-05 01:00:00 UTC to 2025-02-05 02:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-02-05 02:00:00 UTC to 2025-02-05 03:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-02-05 03:00:00 UTC to 2025-02-05 04:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-02-05 04:00:00 UTC to 2025-02-05 05:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-02-05 05:00:00 UTC to 2025-02-05 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsFeb 5, 05:002025-02-05 06:00:00 UTC to 2025-02-05 07:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-02-05 07:00:00 UTC to 2025-02-05 08:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-02-05 08:00:00 UTC to 2025-02-05 09:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-02-05 09:00:00 UTC to 2025-02-05 10:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-02-05 10:00:00 UTC to 2025-02-05 11:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-02-05 11:00:00 UTC to 2025-02-05 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-02-05 12:00:00 UTC to 2025-02-05 13:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-02-05 13:00:00 UTC to 2025-02-05 14:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 commentsFeb 5, 13:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Feb 4, 22:002025-02-04 22:00:00 UTC2025-02-04 23:00:00 UTC101
Feb 4, 23:002025-02-04 23:00:00 UTC2025-02-05 00:00:00 UTC000
Feb 5, 00:002025-02-05 00:00:00 UTC2025-02-05 01:00:00 UTC000
Feb 5, 01:002025-02-05 01:00:00 UTC2025-02-05 02:00:00 UTC000
Feb 5, 02:002025-02-05 02:00:00 UTC2025-02-05 03:00:00 UTC000
Feb 5, 03:002025-02-05 03:00:00 UTC2025-02-05 04:00:00 UTC000
Feb 5, 04:002025-02-05 04:00:00 UTC2025-02-05 05:00:00 UTC000
Feb 5, 05:002025-02-05 05:00:00 UTC2025-02-05 06:00:00 UTC000
Feb 5, 06:002025-02-05 06:00:00 UTC2025-02-05 07:00:00 UTC000
Feb 5, 07:002025-02-05 07:00:00 UTC2025-02-05 08:00:00 UTC000
Feb 5, 08:002025-02-05 08:00:00 UTC2025-02-05 09:00:00 UTC000
Feb 5, 09:002025-02-05 09:00:00 UTC2025-02-05 10:00:00 UTC000
Feb 5, 10:002025-02-05 10:00:00 UTC2025-02-05 11:00:00 UTC000
Feb 5, 11:002025-02-05 11:00:00 UTC2025-02-05 12:00:00 UTC000
Feb 5, 12:002025-02-05 12:00:00 UTC2025-02-05 13:00:00 UTC000
Feb 5, 13:002025-02-05 13:00:00 UTC2025-02-05 14:00:00 UTC202

What Hacker News says

3 sources
> Edit: Based on your benchmarks repo (https://github.com/trailbaseio/trailbase-benchmark/tree/main...) note that compiling PocketBase with `CGO_ENABLED=1` is no longer enough to kick in the github.com/mattn/go-sqlite3 driver and you need to enable it manually as shown in the db_cgo.go in our benchmarks OR like in https://pocketbase.io/docs/go-overview/#github-commattngo-sq... (the reason for this change was to avoid the "multiple definition" linker errors). FWIW, I did this locally (also happy to fork PB and check it in, certainly aids transparency). I've already updated the numbers in the benchmark doc but will continue to try squeeze more out of it. As to 4x, my concurrency levels are significantly lower which could certainly explain it. Is PB juggling multiple connections increasing write lock congestion or are you serializing access,
Read the rest
e.g. via a worker thread? Also happy to chat more (feel free to send me an email), I certainly want PB to have the best possible representation and maybe we can even speed things up on both sides
In TrailBase: Sub-millisecond open-source application base with Rust, SQLite and V8
> I'm not sure this is expected but it didn't seem to make much of a difference with my setup I expect it to be faster but it is also possible that maybe in your specific collection and execution scenario it somehow perform worst, or at least not the same as in my benchmarks, I'm not sure. The ~4x mentioned speed up is based on the tests for Hetzner CAX41 with the CGO driver when creating 50k records with 500 concurrent clients: Old (58.409064001s): https://github.com/pocketbase/benchmarks/blob/54140be5fb0102... New (13.580098262s): https://github.com/pocketbase/benchmarks/blob/7df0466ac9bd62... --- Edit: Based on your benchmarks repo (https://github.com/trailbaseio/trailbase-benchmark/tree/main...) note that compiling PocketBase with `CGO_ENABLED=1` is no longer enough to kick in the github.com/mattn/go-sqlite3 driver and you need to ena
Read the rest
ble it manually as shown in the db_cgo.go in our benchmarks OR like in https://pocketbase.io/docs/go-overview/#github-commattngo-sq... (the reason for this change was to avoid the "multiple definition" linker errors).
In TrailBase: Sub-millisecond open-source application base with Rust, SQLite and V8
The C# insertion benchmark yields roughly 100000k inserts per 5.7s, so it's more like 17.5k inserts per second. A few observations: - Both benchmark driver and server are running locally on my laptop, completely saturating the machine. - I've managed to achieve higher throughput with rust. At least part of it is probably that the client side is lighter on my already saturated machine. - I've found that I'm getting roughly 3x the performance on a pretty humble 8700G desktop. - I've found the file-system to have a non-trivial impact. - The benchmark is only as fast as the bottleneck 50cm in front of the screen managed to make it run. The benchmark driver is here: https://github.com/trailbaseio/trailbase-benchmark/tree/main.... Dotnet is super swift, so I'd be surprised if it couldn't be further optimized (whereas Dart and Node are fairly cl
Read the rest
ient-side bottlenecked).
In TrailBase: Sub-millisecond open-source application base with Rust, SQLite and V8

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.