Source

ISO 8601 parser/unparser / timetrial.m

Diff from to

File timetrial.m

 		if (outString) ++numResults;
 	}
 	end = [NSDate date];
-	NSLog(@"Time taken: %f", [end timeIntervalSinceDate:start]);
+	NSLog(@"Time taken: %f seconds", [end timeIntervalSinceDate:start]);
 	NSLog(@"Number of dates and strings computed: %lu each", (unsigned long)numResults);
-	NSLog(@"Time taken per date: %f", [end timeIntervalSinceDate:start] / numReps);
+	NSLog(@"Time taken per date: %f seconds", [end timeIntervalSinceDate:start] / numReps);
 
 	[pool drain];
 	pool = [[NSAutoreleasePool alloc] init];
 		if (outString) ++numResults;
 	}
 	end = [NSDate date];
-	NSLog(@"Time taken: %f", [end timeIntervalSinceDate:start]);
+	NSLog(@"Time taken: %f seconds", [end timeIntervalSinceDate:start]);
 	NSLog(@"Number of dates and strings computed: %lu each", (unsigned long)numResults);
-	NSLog(@"Time taken per date: %f", [end timeIntervalSinceDate:start] / numReps);
+	NSLog(@"Time taken per date: %f seconds", [end timeIntervalSinceDate:start] / numReps);
 
 	sleep(1);