How do threads and number of iterations impact test and what is JMeter’s max. thread limit

The max number of threads is determined by a lot of factors, see this answer https://stackoverflow.com/a/11922239/460802 There is a big difference in what you are proposing. “500 threads, Loop 1 ” Means 500 threads AT THE SAME TIME doing the loop ONCE. “50 threads, loop 10” Means only 50 threads AT THE SAME TIME doing … Read more

What is [Cycle Detected] with memory leak?

What Is [Cycle Detected] when viewing managed memory? When viewing Heap snapshots inside Visual Studios Diagnostic tools you have: The Object Type Window which shows objects held in memory. When you select a particular Object Type, you can access: Paths to Root – Don’t be fooled by the fact this information is presented in a … Read more

How to load 100 million records into MongoDB with Scala for performance testing?

Some tips : Do not index your collection before inserting, as inserts modify the index which is an overhead. Insert everything, then create index . instead of “save” , use mongoDB “batchinsert” which can insert many records in 1 operation. So have around 5000 documents inserted per batch. You will see remarkable performance gain . … Read more

Is JUnit the right tool to write performance tests? [closed]

There may be better approaches, but there are also some frameworks that help implement benchmarking with JUnit. Some useful practices are warmup runs, statistical evaluations. Take a look at JUnitBenchmarks and JUnitPerf EDIT looks like JUnitBenchmarks has been deprecated since the question has been stated. The project’s maintainers recommend moving on to JMH. Thank you, … Read more

tech