All Projects → qoollo → performance-counters

qoollo / performance-counters

Licence: MIT license
Extremely useful library for collecting and tracking performance metrics in your .NET application

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to performance-counters

Illacceptanything
The project where literally anything* goes.
Stars: ✭ 1,756 (+10875%)
Mutual labels:  counter
CSGSI
A simple C# library to interface with Counter-Strike: Global Offensive's Game State Integration
Stars: ✭ 124 (+675%)
Mutual labels:  counter
animationCounter.js
animationCounter.js is a jQuery plugin that animates a number from a value to another value or to an infinite value
Stars: ✭ 18 (+12.5%)
Mutual labels:  counter
Redux Data Structures
Reducer factory functions for common data structures: counters, maps, lists (queues, stacks), sets, etc.
Stars: ✭ 157 (+881.25%)
Mutual labels:  counter
You Dont Need Javascript
CSS is powerful, you can do a lot of things without JS.
Stars: ✭ 16,514 (+103112.5%)
Mutual labels:  counter
yii2-stat
Yii2 Multi Web Statistic Module (yametrika, google-analytic, own db-counter)
Stars: ✭ 18 (+12.5%)
Mutual labels:  counter
Phoenix Liveview Counter Tutorial
🤯 beginners tutorial building a real time counter in Phoenix 1.5.5 + LiveView 0.14.7 ⚡️
Stars: ✭ 115 (+618.75%)
Mutual labels:  counter
vue-countable
✍️ Vue binding for countable.js. Provides real-time paragraph, sentence, word, and character counting.
Stars: ✭ 25 (+56.25%)
Mutual labels:  counter
Gloc
📆 Browser extension: counts lines of code on GitHub
Stars: ✭ 246 (+1437.5%)
Mutual labels:  counter
counter
🔢 Tally counter for Android
Stars: ✭ 88 (+450%)
Mutual labels:  counter
Mongoose Sequence
Sequence and autoincrement handling for mongoose
Stars: ✭ 178 (+1012.5%)
Mutual labels:  counter
React Native Countdown Component
React Native CountDown
Stars: ✭ 193 (+1106.25%)
Mutual labels:  counter
fresh-coffee-listener
Using a raspberry pi, we listen to the coffee machine and count the number of coffee consumption
Stars: ✭ 52 (+225%)
Mutual labels:  counter
React Retro Hit Counter
🆕 Go back in time with this 90s-style hit counter.
Stars: ✭ 144 (+800%)
Mutual labels:  counter
Unity-FPS-Counter
#NVJOB FPS Counter and Graph. Free Unity Asset.
Stars: ✭ 44 (+175%)
Mutual labels:  counter
Gosumemory
Cross-Platform memory reader for osu!
Stars: ✭ 112 (+600%)
Mutual labels:  counter
KeysPerSecond
A keys-per-second meter & counter. Written for osu! but should work for other rhythm games too.
Stars: ✭ 238 (+1387.5%)
Mutual labels:  counter
CSGO-Offset-Scanner
Java Based Cross-Platform CSGO Offset and Netvar Scanner
Stars: ✭ 28 (+75%)
Mutual labels:  counter
perf counter
A dedicated performance counter for Cortex-M systick. It shares the SysTick with users' original SysTick function without interfere it. This library will bring new functionalities, such as performance counter, delay_us and clock() service defined in time.h
Stars: ✭ 197 (+1131.25%)
Mutual labels:  performance-counters
CtrlUI
CtrlUI (Controller User Interface) is a Windows application, game and emulator launcher for your game controller, DirectXInput converts your game controller to a Xbox (XInput) controller, Fps Overlayer is a tool that shows the frames per second and the cpu, gpu and memory information.
Stars: ✭ 39 (+143.75%)
Mutual labels:  counter

Qoollo Performance Counters NuGet Build status

Extremely useful library for collecting and tracking performance metrics in your .NET applications.

This library allows you to measure performance of your application by some common metrics and send this values to any target.

Main features:

  • support most commonly used metrics;
  • support several targets to distribute counter values;
  • targets can be combined;
  • XSD schema for configuration section in App.config.

Supported metrics (counter types):

  • Number of Items (example: measure number of received requests);
  • Operations per Second (example: measure performance of your code);
  • Average Count (example: measure average size of queue);
  • Average Time (example: measure average execution time of your functions);
  • Moment Time (example: fixate time of some process that executing only once);
  • Elapsed Time (example: measure the total execution time of your application);
  • Delta (example: measure changes in processing rate);

Supported targets:

  • Internal (values are available only inside your app);
  • Windows Performance Counters (values can be read by windows performance monitor);
  • Network (values are sent to network service);
  • Graphite (values are sent to graphite/carbon server).

Quick start guide

  • add reference to performance counters library;
  • define category with required counters:
internal class TestSingleInstance: SingleInstanceCategoryWrapper
{
    public TestSingleInstance() : base("SingleInstance", "For tests") { }

    [Counter("Test NumberOfItemsCounter")]
    public NumberOfItemsCounter Count { get; private set; }
}
  • define your counters container (if you need a singleton):
internal class PerfCounters: Qoollo.PerformanceCounters.PerfCountersContainer
{
    private static TestSingleInstance _singleInstance = CreateNullCategoryWrapper<TestSingleInstance>();
    public static TestSingleInstance TestSingle { get { return _singleInstance; } }

    public static void Init(CategoryWrapper parent)
    {
        _singleInstance = parent.CreateSubCategory<TestSingleInstance>();
    }
}
  • create counters factory on application start-up and initialize you PerfCounters container:
var counterFactory = new WinCounterFactory();
// or load from App.config:
// var counterFactory = PerfCountersInstantiationFactory.CreateCounterFactoryFromAppConfig("PerfCountersConfigurationSection");

PerfCounters.Init(counterFactory.CreateRootWrapper());
counterFactory.InitAll();
  • use counters like this:
PerfCounters.TestSingle.Count.Increment();
  • don't forget to dispose counters factory when application is closing:
counterFactory.Dispose();

Extended materials

NuGet

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].