From a7caa347624f5beba255bda9d1a5a139b9e11355 Mon Sep 17 00:00:00 2001 From: iska Date: Sat, 6 Jun 2015 20:10:28 +0200 Subject: [PATCH] Disable HTML DOM checks in parser's performance test The baseline was set before the DOM validations were implemented. --- HTMLKitTests/HTMLKitParserPerformance.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/HTMLKitTests/HTMLKitParserPerformance.m b/HTMLKitTests/HTMLKitParserPerformance.m index f4839d0..005282f 100644 --- a/HTMLKitTests/HTMLKitParserPerformance.m +++ b/HTMLKitTests/HTMLKitParserPerformance.m @@ -15,6 +15,8 @@ @implementation HTMLKitParserPerformance +#define HTMLKIT_NO_DOM_CHECKS + - (void)testParserPerformance { NSString *path = [[NSBundle bundleForClass:self.class] resourcePath]; @@ -28,4 +30,6 @@ }]; } +#undef HTMLKIT_NO_DOM_CHECKS + @end