Comments (3)
Thank you for the report. This looks like a runtime error, not a build error. I don't know what is running, so I can't reproduce this issue. Please provide some more information and I'll be happy to get any problems in the library corrected. (I do not have OSX to test on.)
from celero.
Hi @DigitalInBlue, sorry to keep you waiting. Here's some more info regarding the issue reported. This is the source file (test.cpp
) that is being built:
#include <celero/Celero.h>
#include <chrono>
#include <thread>
CELERO_MAIN
BASELINE(DemoSleep, Baseline, 60, 1) {
std::this_thread::sleep_for(std::chrono::microseconds(10000));
}
BENCHMARK(DemoSleep, HalfBaseline, 60, 1) {
std::this_thread::sleep_for(std::chrono::microseconds(5000));
}
BENCHMARK(DemoSleep, TwiceBaseline, 60, 1) {
std::this_thread::sleep_for(std::chrono::microseconds(20000));
}
It's being compiled with /usr/bin/clang++ -std=c++14 test.cpp -L/usr/local/Cellar/celero/2.8.0/lib -lcelero -o test
.
The terminal output is:
Celero
Timer resolution: 0.001000 us
| Group | Experiment | Prob. Space | Samples | Iterations | Baseline | us/Iteration | Iterations/sec | RAM (bytes) |
|:--------------:|:---------------:|:---------------:|:---------------:|:---------------:|:---------------:|:---------------:|:---------------:|:---------------:|
zsh: segmentation fault ./test
The return code is 139.
Please let me know if there's any other information we can provide to make it easier to figure out what's going on here. Thanks!
from celero.
Sorry, didn't realize that you've released 2.8.1 and 2.8.2. Our builds are passing now. Thanks for fixing this!
from celero.
Related Issues (20)
- Multiple warnings during compilation via Microsoft Visual Studio HOT 1
- Compiler errors with aggressive warnings enabled
- error: loop variable 'udm' of type 'const std::__1::shared_ptr<celero::UserDefinedMeasurement>' creates a copy from type 'const std::__1::shared_ptr<celero::UserDefinedMeasurement>' HOT 1
- Documentation link not present in README HOT 1
- Samples and iterations are only computed for first size of problem space (division by zero)
- UDM Fields are not printed properly
- Add User Defined Measurements to output files HOT 1
- Test executable fails: No Baseline case defined for "". Exiting.*** Error code 1 HOT 1
- ARCHIVE_OUTPUT_NAME always has ".dll" even for static builds
- Support vcpkg --triplet x64-windows-static-md
- Tests terminate with Signal 11 HOT 4
- Truncation of group and experiment names in standard output HOT 1
- Problems with building / packaging celero HOT 5
- Passing invalid group name in the command line segfaults HOT 1
- [2.8.4 regression] c++: error: no such file or directory: '/wd4251' HOT 1
- Memory Measurement on macOS HOT 3
- Add User-Defined String field to Result Table CSV HOT 3
- Celero/experiments/ExperimentCompressBools has a bad cast HOT 2
- CMAKE_<BUILD_TYPE>_POSTFIX spills into consuming project HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from celero.