mzcu / minibench Goto Github PK
View Code? Open in Web Editor NEWTiny, zero-dependency, header-only microbenchmarking library for C
License: MIT License
Tiny, zero-dependency, header-only microbenchmarking library for C
License: MIT License
Leak report attached below.
leaks Report Version: 4.0, multi-line stacks
Process 46563: 233 nodes malloced for 1620 KB
Process 46563: 6 leaks for 1638592 total leaked bytes.
STACK OF 2 INSTANCES OF 'ROOT LEAK: <calloc in NewSet>':
5 dyld 0x18fc0ff28 start + 2236
4 example-benchmark.out 0x1003ef7fc main + 820
3 example-benchmark.out 0x1003ee474 ministat + 344
2 example-benchmark.out 0x1003ee68c ReadSet + 28
1 example-benchmark.out 0x1003ef85c NewSet + 24
0 libsystem_malloc.dylib 0x18fda8eb0 _malloc_zone_calloc_instrumented_or_legacy + 92
====
6 (1.56M) << TOTAL >>
3 (800K) ROOT LEAK: <calloc in NewSet 0x140f040f0> [64]
1 (800K) <calloc in NewSet 0x148008000> [819200]
1 (32 bytes) <malloc in ReadSet 0x140f04130> [32]
3 (800K) ROOT LEAK: <calloc in NewSet 0x140f04150> [64]
1 (800K) <calloc in NewSet 0x1480d0000> [819200]
1 (32 bytes) <malloc in ReadSet 0x140f04190> [32]
Thank you for your great work.
I am testing your minibench on my project rb_bench and encountered some problems.
When I test your minibench on apple ARM M1 machine, the is no segmentation fault.
However, when I use linux the segmentation fault is appeared in the following line.
I cannot debug on my own since your variable i
, j
, m
, x
contains no clue of what they stand for.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.