mirror of
https://github.com/CocoaLumberjack/CocoaLumberjack.git
synced 2026-05-07 20:12:46 +00:00
27 lines
685 B
Objective-C
27 lines
685 B
Objective-C
//
|
|
// PerformanceTesting.h
|
|
// Benchmarking
|
|
//
|
|
// CocoaLumberjack Benchmarking
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
#define SPEED_TEST_0_COUNT 1000 // Total log statements
|
|
#define SPEED_TEST_1_COUNT 1000 // Total log statements
|
|
#define SPEED_TEST_2_COUNT 1000 // Total log statements
|
|
#define SPEED_TEST_3_COUNT 250 // Per log level (multiply by 4 to get total)
|
|
|
|
#define SPEED_TEST_4_VERBOSE_COUNT 900
|
|
#define SPEED_TEST_4_INFO_COUNT 000
|
|
#define SPEED_TEST_4_WARN_COUNT 000
|
|
#define SPEED_TEST_4_ERROR_COUNT 100
|
|
|
|
// Further documentation on these tests may be found in the implementation file.
|
|
|
|
@interface PerformanceTesting : NSObject
|
|
|
|
+ (void)startPerformanceTests;
|
|
|
|
@end
|