Quantcast

Remove the frame timing debug info

ackis [02-13-09 - 23:30]
Remove the frame timing debug info
Filename
AckisRecipeList.lua
diff --git a/AckisRecipeList.lua b/AckisRecipeList.lua
index 67cff06..b387d2b 100644
--- a/AckisRecipeList.lua
+++ b/AckisRecipeList.lua
@@ -1707,54 +1707,18 @@ do
 			end
 			-- Get the name of the current trade skill opened, along with the current level of the skill.
 			playerData.playerProfession, playerData.playerProfessionLevel = GetTradeSkillLine()
-            --@debug@
-			if (not playerData.playerProfession) or (not playerData.playerProfessionLevel) then
-				self:Print("DEBUG: Scan of: " .. playerData.playerProfession)
-			end
-            --@end-debug@

 			-- Get the current profession Specialty
 			playerData.playerSpecialty = self:GetTradeSpecialty(SpecialtyTable, playerData)

 			-- Add the recipes to the database
-			--@debug@
-			local _t0=GetTime()
-			--@end-debug@
 			playerData.totalRecipes = InitializeRecipes(RecipeList, playerData.playerProfession)
-			--@debug@
-			self:Print("DEBUG: Recipe Initialization: " .. GetTime()-_t0)
-			--@end-debug@
-
-			--@debug@
-			local _t1=GetTime()
-			--@end-debug@
 			-- Scan all recipes and mark the ones which ones we know
 			self:ScanForKnownRecipes(RecipeList, playerData)
-			--@debug@
-			self:Print("DEBUG: Scanning for known recipes: " .. GetTime()-_t1)
-			--@end-debug@
-
-			--@debug@
-			local _t2=GetTime()
-			--@end-debug@
 			-- Update the table containing which reps to display
 			self:PopulateRepFilters(RepFilters)
-			--@debug@
-			self:Print("DEBUG: Rep Filtering: " .. GetTime()-_t2)
-			--@end-debug@
-
-			--@debug@
-			local _t3=GetTime()
-			--@end-debug@
 			-- Add filtering flags to the recipes
 			self:UpdateFilters(RecipeList, AllSpecialtiesTable, playerData)
-			--@debug@
-			self:Print("DEBUG: Filtering: " .. GetTime()-_t3)
-			--@end-debug@
-
-			--@debug@
-			local _t4=GetTime()
-			--@end-debug@
 			-- Mark excluded recipes
 			if (not addon.db.profile.ignoreexclusionlist) then
 				playerData.excluded_recipes_known, playerData.excluded_recipes_unknown = self:GetExclusions(RecipeList)
@@ -1762,15 +1726,8 @@ do
 				playerData.excluded_recipes_known = 0
 				playerData.excluded_recipes_unknown = 0
 			end
-			--@debug@
-			self:Print("DEBUG: Exclusions: " .. GetTime()-_t4)
-			--@end-debug@
-
 		end

-		--@debug@
-		local _t5=GetTime()
-		--@end-debug@
 		if (textdump == true) then
 			self:DisplayTextDump(RecipeList, playerData.playerProfession)
 		else
@@ -1780,9 +1737,6 @@ do
 								TrainerList, VendorList, QuestList, ReputationList,
 								SeasonalList, MobList, CustomList)
 		end
-		--@debug@
-		self:Print("DEBUG: Frame creation/display: " .. GetTime()-_t5)
-		--@end-debug@
 	end