Skip to content

Commit

Permalink
updated multithreaded test measurement
Browse files Browse the repository at this point in the history
  • Loading branch information
jkriege2 committed Jan 8, 2024
1 parent dde0151 commit fa9773d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions examples/multithreaded/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@ This test results in the following numbers (on my AMD Ryzen5 8/16-core laptop):
<b>VERSION:</b> 5.0.0
<b>BUILD MODE:</b> Release

<u><b>SERIAL RESULTS:</b></u><br/>runtime, overall = 3399.6ms<br/>single runtimes = (141.6 +/- 366.9) ms<br/>speedup = 1.00x<br/>threads / available = 1 / 16<br/><br/><br/>
<u><b>SERIAL RESULTS:</b></u><br/>runtime, overall = 2336.7ms<br/>single runtimes = (97.3 +/- 158.4) ms<br/>speedup = 1.00x<br/>threads / available = 1 / 16<br/><br/><br/>

<u><b>PARALLEL RESULTS:</b></u><br/>
runtime, overall = 526.7ms<br/>single runtimes = (166.4 +/- 9.9) ms<br/>speedup = 7.58x<br/>threads / available = 8 / 16<br/>batch runs = 3<br/><br/><b>speedup vs. serial = 6.5x</b>
runtime, overall = 527.2ms<br/>single runtimes = (166.4 +/- 8.1) ms<br/>speedup = 7.58x<br/>threads / available = 8 / 16<br/>batch runs = 3<br/><br/><b>speedup vs. serial = 4.4x</b>

[comment]:RESULTS_END

Expand Down
2 changes: 1 addition & 1 deletion examples/multithreaded/multithreaded.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ int main(int argc, char* argv[])
mainWin->setCentralWidget(main=new QWidget(mainWin));

QString markdownFile="";
QString labelTemplate="Plot %1: $f(x)=\\cos\\left(x+\\sfrac{%1\\pi}{8}\\right)$";
QString labelTemplate="Plot %1: $f(x)=\\cos(x+%1\\pi/8)$";
QByteArray mdMATCH="RESULTS";
for (int i=1; i<argc; i++) {
if (QString(argv[i]).startsWith("--mdfile=")) {
Expand Down
Binary file modified screenshots/multithreaded.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/multithreaded_small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit fa9773d

Please sign in to comment.