Skip to content

Add microbenching test harness - #41

Merged
cloudmark merged 2 commits into
cloudmark:mainfrom
Voltir:topic/benchmark
May 17, 2025
Merged

Add microbenching test harness#41
cloudmark merged 2 commits into
cloudmark:mainfrom
Voltir:topic/benchmark

Conversation

@Voltir

@Voltir Voltir commented May 15, 2025

Copy link
Copy Markdown
Contributor

Per the discussion we were having in issues - I thought about maybe doing something with testcontainers + rabbitmq to do a more realistic test, but did a survey of how some other libraries were doing it, and this seems like a pretty light weight and extensible approach.

I figure I could PR this very basic test, then if we want to extend it or focus more specifically on testing the mailbox we could talk about what kinds of microbenchmarks that would be useful, and then if this lands on main, ill update the other PR and take a look at how changing the queue implementation impacts those benchmarks.

Also:

[info] Result "com.suprnation.actor.ActorBench.ask":
[info]   18407.135 ±(99.9%) 1426.900 ops/s [Average]
[info]   (min, avg, max) = (13696.560, 18407.135, 21082.638), stdev = 1904.870
[info]   CI (99.9%): [16980.235, 19834.035] (assumes normal distribution)

@cloudmark
cloudmark merged commit a459296 into cloudmark:main May 17, 2025
@cloudmark

Copy link
Copy Markdown
Owner

Thank you for your contribution 🎉

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.

2 participants