Last Updated: 01 Dec 2021 14:07 by ADMIN
Created on: 14 Oct 2021 19:23
Type: Bug Report
Performance Issues with JustMock

I've already created an issue in the JustMock repo, you can find it here: Below is the text from that issue...

I'm currently working on a PR to add JustMock to the suite of performance tests that currently exist in that repository. The problem is that some of the tests (like OneParameter and Callback) take a long time to finish for JustMock. I'm not sure why, but it's making it such that JustMock can't be added to the test suite. More to the point, the PR can't be accepted as-is because it would take too long to finish.

One thing Steve (owner of the repo) and I talked about is if the invocationCount value passed to the SimpleJobAttribute (which exists on both the MockingBenchmark and MockingBenchmark<T> classes) is reduced from 100,000 to something like 1,000, the tests then finish, but that doesn't address the underlying issue why these tests for JustMock slow down over repeated called.

There may be something in the benchmark tests with the way I've set things up with JustMock that may be incorrect. I've never used JustMock until today :). If there's something that I'm doing right, please let me know.

Posted on: 15 Oct 2021 13:45

Hello Jason,

I've posted an answer in the github issue you've opened.

Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at

Posted on: 15 Oct 2021 12:12
BTW where I said, "If there's something that I'm doing right", I meant, "If there's something that I'm doing wrong".