Skip to content

Commit

Permalink
Benchmark results update
Browse files Browse the repository at this point in the history
  • Loading branch information
cdelv committed Jul 23, 2023
1 parent 53fdd5e commit da4544e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Benchmarks/benchmarks_2D.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ using Ntype = double;

int main(int argc, char const *argv[])
{
const int N = 30000000;
const int N = 50000000;

// For some random numbers
std::default_random_engine re(10);
Expand Down
2 changes: 1 addition & 1 deletion Benchmarks/benchmarks_3D.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ using Ntype = double;

int main(int argc, char const *argv[])
{
const int N = 30000000;
const int N = 50000000;

// For some random numbers
std::default_random_engine re(10);
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ sudo apt install libgtest-dev
```
All tests are run automatically via GitHub action on every push.

To benchmark the library, simply enter the command `make benchmark` and the average `operation/μs` it takes for `N=30000000` operations to be completed will be reported. Please note that the benchmark was conducted on an `11th Gen Intel i5-1135G7 CPU`.
To benchmark the library, simply enter the command `make benchmark` and the average `operation/μs` it takes for `N=50000000` operations to be completed will be reported. Please note that the benchmark was conducted on an `11th Gen Intel i5-1135G7 CPU`.

```
Constructor: vector3D() -> 406.444 Operations/μs
Expand Down Expand Up @@ -178,5 +178,4 @@ Unit: unit(v) -> 307.456 Operations/μs
# Comming Soon

- Unit Tests for vector2D
- more tests
- An object that converts an array of vectors to an SOA structure.
- more tests

0 comments on commit da4544e

Please sign in to comment.