Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
Microbenchmarks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mattia Mancini
Microbenchmarks
Commits
de51076c
Commit
de51076c
authored
May 6, 2024
by
Mattia Mancini
Browse files
Options
Downloads
Plain Diff
Merge branch 'add_description' into 'main'
Add description See merge request
!1
parents
1a8bb748
ecc8889d
Branches
Branches containing commit
No related tags found
1 merge request
!1
Add description
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitignore
+2
-0
2 additions, 0 deletions
.gitignore
README.md
+27
-0
27 additions, 0 deletions
README.md
with
29 additions
and
0 deletions
.gitignore
0 → 100644
+
2
−
0
View file @
de51076c
.vscode
build
This diff is collapsed.
Click to expand it.
README.md
0 → 100644
+
27
−
0
View file @
de51076c
# Microbenchmarks
A collection of microbenchmarks for C++ code.
## Building
The project relies on CMake to build the code.
```
# clone the current project then create a build configuration by running
cmake -B build [path_to_repository]
make -C build
```
you can specify another build program by providing the option
`-G`
,
for example to use Ninja
`-G Ninja`
.
The commands executes will then be
```
cmake -B build [path_to_repository]
ninja -C build
```
To execute the code you can just run
```
build/microbenchmarks
```
## Add another benchmark
If you want to add another benchmark you can
add a c++ into benchmarks and then add it to the
`CMakeLists.txt`
file in the target sections.
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment