benchmarking Questions

2

Solved

I am benchmarking some methods using jmh through a spring boot application. When i run it through IDE it gives me benchmarks but when i package it with maven and run it through CMD it gives the bel...
Perpetua asked 21/8, 2018 at 15:30

2

Solved

I ran a benchmark example and got this table. BenchmarkDotNet=v0.12.0, OS=Windows 7 SP1 (6.1.7601.0) Intel Xeon CPU E5-4660 v3 2.10GHz, 1 CPU, 28 logical and 14 physical cores Frequency=2050214 Hz...
Overbuild asked 25/11, 2019 at 9:25

3

I have this simple hello world program: #include <stdio.h> int main() { printf("Hello, world!\n"); return 0; } I compiled this program with LLVM Clang (v15.0.1, built from Homeb...
Equipment asked 28/1, 2023 at 1:33

5

Solved

I am testing the scalability of a websockets application I wrote using socket.io and Node.js. I want to stress test and benchmark the performance. What are some tools I can use? So far I've looked...
Breaker asked 23/4, 2011 at 1:32

3

Solved

How can I use several different versions or branches of the same module in a single script in Julia? e.g. If I wanted to benchmark each of the tagged releases. (Someone asked a similar question r...
Bourges asked 30/8, 2016 at 10:30

4

Solved

This question is about the speed of accessing elements of arrays and slices, not about the efficiency of passing them to functions as arguments. I would expect arrays to be faster than slices in m...
Enameling asked 29/5, 2015 at 8:49

1

Solved

I've run the same binaries compiled with gcc-13 (https://godbolt.org/z/qq5WrE8qx) on Intel i3-N305 3.8GHz and AMD Ryzen 7 3800X 3.9GHz PCs. This code uses VCL library (https://github.com/vectorclas...
Underwing asked 25/12, 2023 at 7:56

3

I have developed a cloud storage system that uses the same API structure as Amazon S3. Now I want to run some performance tests on getting object data and object metadata. In such a way that I can ...
Nubianubian asked 3/7, 2013 at 18:52

1

While working on a Brainfuck interpreter in Rust, I noticed that cargo bench takes an incredibly long time to build a Criterion bench when the Benchmark contains a large type. As part of my Brainfu...
Rutherford asked 29/10, 2022 at 5:43

2

Solved

When I run my benchmarks with go test -v -bench=. -benchmem, I see the following results. f1 10000 120860 ns/op 2433 B/op 28 allocs/op f2 10000 120288 ns/op 2288 B/op 26 allocs/op Based on my un...
Waller asked 23/2, 2016 at 21:24

3

I started working recently with a team whose members variably prefer Python, R, and Julia (in order of popularity). We are translating a set of hydrology modules built by various team members into ...
Beliabelial asked 16/10, 2023 at 12:27

1

Solved

Mojo, a programming language, claims to be 65000x faster than python. I am eager to understand if is there any concrete benchmark data that supports this claim? Also, how does it differ in re...
Joseph asked 9/9, 2023 at 4:49

3

I have a C++ Google Benchmark Program. It uses Google's BENCHMARK_MAIN() method. Now I call and execute the compiled program with a Go script. Is there a way to pass arguments into my benchmark pro...

2

Solved

Out of curiosity, I've been looking at the source of both the sort package in the standard library and the experimental slices package which is soon to be added to the standard library. Both packag...
Rizo asked 1/8, 2023 at 11:13

4

Solved

I'm looking at BenchmarkDotNet and benchmarking in general for the first time ever. I appear to be unable to run benchmarks using the normal BenchmarkRunner because of antivirus restrictions on our...
Ramah asked 24/8, 2022 at 15:4

3

I am aware of the --benchmark_repetitions flag and it is not what I need. I want to be able to specify the number of iterations for one benchmark. I am okay with using a --benchmark_iterations flag...
Welborn asked 16/5, 2020 at 20:47

2

How do I profile/benchmark an assynchronous Python script (which uses ASYNCIO)? I you would usualy do totalMem = tracemalloc.get_traced_memory()[0] totalTime = time.time() retValue = myFunction(...
Rustic asked 21/1, 2019 at 14:51

13

Solved

Usually I use shell command time. My purpose is to test if data is small, medium, large or very large set, how much time and memory usage will be. Any tools for Linux or just Python to do this?
Ampulla asked 20/10, 2009 at 7:40

2

Solved

I'm trying to benchmark our upload server by simulating several concurrent requests using Apache Bench (ab). I've read this post that details the necessary steps and also this Stackoverflow questio...
Divorcee asked 26/11, 2013 at 14:47

1

running this command: ./gradlew :macro-benchmark:pixel2Api31ReleaseAndroidTest -P android.testInstrumentationRunnerArguments.class=com.benchmark.BaselineProfileGenerator -DBUILD_VARIANT=release an...
Ahrens asked 13/10, 2022 at 12:38

18

Solved

I have a C program that aims to be run in parallel on several processors. I need to be able to record the execution time (which could be anywhere from 1 second to several minutes). I have searched ...
Vaginate asked 9/3, 2011 at 16:32

1

This is a follow-up of this SO Answer. Given a flat input range and three size_t dimensions, the code creates a nested random_access_range of random_access_ranges of random_access_ranges, modelling...
Beem asked 9/11, 2022 at 23:4

3

Solved

I am trying to use TimingLogger for checking time consumed for a particular method and its statements. But Android TimingLogger is not able to print logs.
Sharkey asked 11/8, 2016 at 11:1

4

Solved

I have a file with some benchmarks and tests and would like to test against stable, beta and nightly. However, either I don't use the benchmark or stable/beta complain. Is there a way to hide all t...
Kitkitchen asked 7/6, 2016 at 8:53

1

Please consider the following minimal example minimal.cpp (https://godbolt.org/z/x7dYes91M). #include <immintrin.h> #include <algorithm> #include <ctime> #include <iostream&gt...
Skean asked 14/10, 2022 at 12:41

© 2022 - 2025 — McMap. All rights reserved.