lukevenediger / statsd-csharp-client

A simple c# client library for statsd and statsd.net
MIT License
47 stars 20 forks source link

Bad performance when initialized with null #3

Closed majkinetor closed 11 years ago

majkinetor commented 11 years ago
        var noStats = new StatsdClient.Statsd(null, 0);

vs

        var noStats = new StatsdClient.Statsd(string.Empty, 0);

Iz 10x slower.

I use this to disable metrics on testing environment.