docs: add benchmarks page after comparison#763
Conversation
Adds 09-benchmarks.mdx — a tabbed page showing the per-scenario Mockolate-vs-other-libraries snapshot rendered by Testably.Site's MockolateBenchmarkResult component. Renumbers the existing complete-example page from 09 to 10 to make room. The page covers the six benchmark scenarios (CreateMock, Method, Property, Indexer, Event, Callback) with code samples for the Mockolate path, methodology notes, and a link to each benchmark source file. Benchmarks parameterised with [Params(1, 10)] surface inline N=1 / N=10 tabs. Also fixes the stale 09-complete-example.md link in 00-index.md to match the renumber.
5ffeff1 to
fb47cab
Compare
There was a problem hiding this comment.
Pull request overview
Adds a new documentation page to present Mockolate’s benchmark results (rendered via the docs site component) and adjusts the docs ordering/links to accommodate it.
Changes:
- Added a new
BenchmarksMDX page with scenario tabs and links to benchmark source files. - Renumbered/introduced the “complete example” page as
10-complete-example.md. - Updated the docs index to link to the renumbered complete example page.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| Docs/pages/09-benchmarks.mdx | New tabbed benchmarks page with methodology notes, code samples, and source links. |
| Docs/pages/10-complete-example.md | “Complete example” documentation page placed after the new benchmarks page. |
| Docs/pages/00-index.md | Fixes the complete-example link to point to 10-complete-example.md. |
| These benchmarks measure Mockolate's runtime overhead against | ||
| [Moq](https://github.com/devlooped/moq), | ||
| [NSubstitute](https://nsubstitute.github.io/), | ||
| [FakeItEasy](https://fakeiteasy.github.io/), | ||
| [TUnit.Mocks](https://github.com/thomhurst/TUnit/) and | ||
| [Imposter](https://github.com/themidnightgospel/Imposter) for the same end-to-end mocking flow. | ||
|
|
|
🚀 Benchmark ResultsDetails
Details
Details
Details
Details
Details
|
…son (#763) by Valentin Breuß
…son (#763) by Valentin Breuß
|
This is addressed in release v3.2.0. |



Adds 09-benchmarks.mdx — a tabbed page showing the per-scenario Mockolate-vs-other-libraries snapshot rendered by Testably.Site's MockolateBenchmarkResult component. Renumbers the existing complete-example page from 09 to 10 to make room.
The page covers the six benchmark scenarios (CreateMock, Method, Property, Indexer, Event, Callback) with code samples for the Mockolate path, methodology notes, and a link to each benchmark source file. Benchmarks parameterised with [Params(1, 10)] surface inline N=1 / N=10 tabs.
Also fixes the stale 09-complete-example.md link in 00-index.md to match the renumber.