Commits

Peter Hosey committed 796be11

Announce which one we're timing before we run it.

  • Participants
  • Parent commits 297b8da

Comments (0)

Files changed (1)

 	NSDate *start, *end;
 	enum { numReps = 10000 };
 
+	NSLog(@"Timing ISO8601DateFormatter");
+
 	start = [NSDate date];
 	for (NSUInteger i = 10000; i > 0; --i) {
 		NSDate *date = [formatter dateFromString:inString];
 
 	numResults = 0;
 
+	NSLog(@"Timing C standard library parsing and unparsing");
+
 	struct tm timeInfo;
 	time_t then;
 	char buffer[80] = { 0 };