WSS.m 476 B

123456789101112131415161718192021222324252627
  1. //
  2. // WSS.m
  3. // SuperShow
  4. //
  5. // Created by luxiaoming on 2019/3/9.
  6. // Copyright © 2019 duowan. All rights reserved.
  7. //
  8. #import "WSS.h"
  9. #import <OJAKit/OJAKit.h>
  10. @implementation WSS
  11. - (void)testQueue {
  12. NSTimeInterval one = [[NSDate date] timeIntervalSince1970];
  13. NSTimeInterval two = [[NSDate date] timeIntervalSince1970];
  14. NSLog(@"time consume : %@", @(two - one));
  15. dispatch_sync(dispatch_get_main_queue(), ^{
  16. });
  17. }
  18. @end