Skip to main content

Questions tagged [benchmarking]

5 votes
5 answers
722 views

I am working on a refactor on a certain package (I can give details if asked). The package involves a clever lazy evaluation of a sort of nested sequence of arithmetic operations. If the numerical ...
Jagerber48's user avatar
10 votes
7 answers
4k views

I'm writing a program that works with directed acyclic graphs and performs rewriting operations on them. Sometimes the graphs are small, sometimes they can be very large and grow as the program ...
Foxy's user avatar
  • 621
3 votes
1 answer
292 views

I watch this YouTuber's mostly excellent videos on .NET features (let's call him Nick). He more often than not uses Benchmark.net to demonstrate the differences in performance of different approaches ...
Martin Maat's user avatar
  • 18.6k
29 votes
5 answers
4k views

I've quite frequently seen benchmarks where the tester discarded the highest and the lowest time out of N runs. Discarding the highest time I understand; it's probably high because of some other ...
pepoluan's user avatar
  • 499
3 votes
1 answer
433 views

Recently I was asked to refactor some code that leverages JavaScript's array.reduce() method because other developers felt the code hard to read. While doing this I decided to play around with some ...
Kenneth Moore's user avatar
-3 votes
1 answer
214 views

I'm writing a basic password cracker in C as an introduction to multithreaded programming. I've implemented this already using a 'parallelization' approach that spins up a set number of threads and ...
muke's user avatar
  • 109
2 votes
3 answers
5k views

Why do the compile times not vary significantly between different era CPUs, even though disk (NVMe vs. HDD) and CPU benchmarks vary significantly in performance? Why does disabling hyperthreading ...
casualcoder's user avatar
2 votes
0 answers
99 views

I am coding a disk (HDD/SSD) benchmarking software. I have a few questions on how a disk should be benchmarked (regardless of programming language used). This is my pseudo code for testing sequential ...
Canol Gökel's user avatar
3 votes
2 answers
2k views

I am writing a software that splits big files into smaller files and I have coded several solutions. I am measuring the execution time of each of my solutions. (with threads, go routines, MPI etc) ...
Kristi Jorgji's user avatar
-3 votes
1 answer
92 views

Note: I'm not sure if the way I phrase the question initially will fit 100% on this board, so please help me to focus on the main point. Scenario: You develop an algorithm or a neural network that ...
Gaze's user avatar
  • 111
2 votes
1 answer
334 views

I've inherited responsibilities for maintaining a section of enterprise intranet, and my manager has tasked me with, "Clean up the code, please. We're probably going to get lots of change requests ...
Eric's user avatar
  • 217
3 votes
1 answer
350 views

I have developed a CUDA code that is a reimplementation of a (CPU only) C code. I would like to benchmark the performance of these two programs. I am wondering how to do benchmarking well in this ...
Vince Varga's user avatar
1 vote
2 answers
1k views

Imagine I am working on a C compiler. I have made some changes to the compiler's code, and am interested to know what effect these changes have on the performance of generated binaries. I have a ...
user200783's user avatar
4 votes
4 answers
1k views

I have an asm/C code which implements some image filters. The objective of this project is experimentation with different implementations, benchmarking, plotting and reporting data to write a paper ...
Damian Pereira's user avatar
5 votes
2 answers
139 views

In order to estimate the fastest function in various cases in a non fully deterministic context, I'm running an experiment calling one or the other at random and recording the duration of the ...
Denys Séguret's user avatar

15 30 50 per page