flat assembler
Message board for the users of flat assembler.

Index > Linux > nanoBench tool

Author
Thread Post new topic Reply to topic
bitRAKE



Joined: 21 Jul 2003
Posts: 4121
Location: vpcmpistri
bitRAKE 21 Feb 2019, 03:08
https://github.com/andreas-abel/nanoBench

Quote:
nanoBench is used for running the microbenchmarks for obtaining the latency, throughput, and port usage data that is available on uops.info.


I don't really have any experience with this tool, but it seems really cool. When I get more time I'll have to try it out. Anyone have some experience to share?

_________________
¯\(°_o)/¯ “languages are not safe - uses can be” Bjarne Stroustrup
Post 21 Feb 2019, 03:08
View user's profile Send private message Visit poster's website Reply with quote
DimonSoft



Joined: 03 Mar 2010
Posts: 1228
Location: Belarus
DimonSoft 21 Feb 2019, 05:27
I’ve read through the description and… What is the purpose of measuring pieces of code unrelated to the rest of the project? To get values that are (sort of) documented for a particular processor? The piece of code may work in a completely different manner in the real code due to caching, multithreading, etc. It doesn’t seem to be suggested as a nano-replacement for a profiler, just some tool that generates a customizable loop and measures it.
Post 21 Feb 2019, 05:27
View user's profile Send private message Visit poster's website Reply with quote
bitRAKE



Joined: 21 Jul 2003
Posts: 4121
Location: vpcmpistri
bitRAKE 21 Feb 2019, 14:39
Multithreading is certainly at a higher granularity and has no bearing on testing fragments of code. Caching effects can be reduce for inner loops. If that relates to one's application can only be determined by the goals of the project. Fitting this little tool into an existing workflow is also highly subjective.

https://ftp.gnu.org/pub/gnu/superopt/

Then there are tools which might benefit from integration with more detailed instruction level information.

I'm a big fan of premature optimization so it's right up my alley. Smile

_________________
¯\(°_o)/¯ “languages are not safe - uses can be” Bjarne Stroustrup
Post 21 Feb 2019, 14:39
View user's profile Send private message Visit poster's website Reply with quote
guignol



Joined: 06 Dec 2008
Posts: 763
guignol 20 Jun 2019, 03:57
benchmark AI...
Post 20 Jun 2019, 03:57
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.