Perfmetrics

Performance Metrics for code optimization
Alternatives To Perfmetrics
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Skywalking22,437613 hours ago15June 16, 202348apache-2.0Java
APM, Application Performance Monitoring System
Sitespeed.io4,5402910a day ago545August 08, 2023207mitJavaScript
Sitespeed.io is an open source tool that helps you monitor, analyze and optimize your website speed and performance, based on performance best practices advices from the coach and collecting browser metrics using the Navigation Timing API, User Timings and Visual Metrics (FirstVisualChange, SpeedIndex & LastVisualChange).
Myperf4j3,027
2 months ago6bsd-3-clauseJava
High performance Java APM. Powered by ASM. Try it. Test it. If you feel its better, use it.
Javamelody2,85548420a month ago94July 30, 202357apache-2.0Java
JavaMelody : monitoring of JavaEE applications
Perfume.js2,830101925 days ago152March 27, 202312mitTypeScript
Web performance library for measuring all performance vitals metrics
Phantomas2,239781815 hours ago54July 31, 202359bsd-2-clauseJavaScript
Headless Chromium-based web performance metrics collector and monitoring tool
Web Vitals Extension2,233
20 days ago12apache-2.0CSS
A Chrome extension to measure essential metrics for a healthy site
Appmetrics2,1835156 months ago33November 26, 202193apache-2.0C#
App Metrics is an open-source and cross-platform .NET library used to record and report metrics within an application.
Scouter1,97922a month ago27May 29, 2023190otherJava
Scouter is an open source APM (Application Performance Management) tool.
Icinga21,877
16 days ago406gpl-2.0C++
The core of our monitoring platform with a powerful configuration language and REST API.
Alternatives To Perfmetrics
Select To Compare


Alternative Project Comparisons
Readme

perfmetrics

The performance metrics library is useful for determining call stack and module performance.

To make the library do the following:

autoreconf --verbose --install --force
configure 
make all

To start the profiling add this to the entry point of your program.

 #ifdef FEATURE_PERFORMANCE_PROFILING
            PERF_START();
            PERF_ENTRY("Root", "ROOT");
 #endif //FEATURE_PERFORMANCE_PROFILING

and this to the exit point..

#ifdef FEATURE_PERFORMANCE_PROFILING
           PERF_EXIT("Root", "ROOT");
           PERF_STOP();
           PERF_REPORT();
           PERF_CLEANUP();
#endif //FEATURE_PERFORMANCE_PROFILING

and then anywhere you want to profile can be instrumented with

PERF_FUNC(__PRETTY_FUNCTION__, "DRAW");

Where DRAW is the category you want to categorize this function under. Or you can use the _ENTRY and _EXIT macros to work within a particular function..

The first parameter is the ID for this element and it’s a string. The library will match and entry and exit point based of the category and ID so you need matched _ENTRY and _EXIT macros. The PERF_STOP will stop collecting data and the PERF_REPORT will print the report to STDOUT and save it to a CSV file if you have that feature enabled. The library will also track CPU clock as well as wall clock, but that is system dependent and in the systems that I have tried it on the resolution is 10ms so it's only really useful for functions that take a long time. Otherwise you get a lot of 10 and 0 entries.

Popular Metrics Projects
Popular Performance Projects
Popular Operations Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
C Plus Plus
Metrics
Performance
Macro
Clock
Performance Metrics