cecell

Papyrus Profiling 60 & 400 fps

Jul 11th, 2021 (edited)
432
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.50 KB | None | 0 0
  1. 60fps
  2. [07/11/2021 - 03:45:21PM] Result in seconds of 1000 iterations of each of the following:
  3. [07/11/2021 - 03:45:38PM] HasKeyword(1st/4): 16.016001S
  4. [07/11/2021 - 03:45:54PM] HasKeyword(4th/4): 16.016001S
  5. [07/11/2021 - 03:46:11PM] HasKeyword(N/A): 16.015999S
  6. [07/11/2021 - 03:46:28PM] aBoolean = aForm.HasKeyWord(ArmorMaterialHide): 16.016003S
  7. [07/11/2021 - 03:46:44PM] aIntBoolean = aForm.HasKeyWord(ArmorMaterialHide) as Int: 16.015999S
  8. [07/11/2021 - 03:47:18PM] aForm.HasKeyWordString("ArmorMaterialHide"): 32.134003S
  9. [07/11/2021 - 03:47:51PM] aForm.HasKeyWordString(keywordString): 32.015991S
  10. [07/11/2021 - 03:48:08PM] formName = aForm.GetName() & StringUtil.Find(formName, "Alt"): 16.293991S
  11. [07/11/2021 - 03:48:09PM] StringUtil.Find(formName, aString): 0.496002
  12. [07/11/2021 - 03:48:26PM] StringUtil.Find("john galt", "ALT"): 16.016006
  13. [07/11/2021 - 03:48:42PM] StringUtil.Find("Having it need to strINg search for a weird A stRinG within a long list of strInGs should be really slow comparitavely.", "RiNgS"): 16.013000
  14. [07/11/2021 - 03:48:59PM] StringUtil.Find("having it need to string search for a weird a strinG within a long list of strings should be really slow comparitavely.", "rings"): 16.033005
  15. [07/11/2021 - 03:49:16PM] StringUtil.Find("zzzzzzzzzzzzzzzzzzzzzzzzzzz","a"): 16.016006
  16. [07/11/2021 - 03:49:33PM] FormlistPos13/33 Total: 16.016006
  17. [07/11/2021 - 03:49:50PM] FormlistPot26/33 Total: 16.383026
  18. [07/11/2021 - 03:49:50PM] Assign property to variable: tempFormVariable = aFormProperty: 0.496002
  19. [07/11/2021 - 03:49:51PM] GetFormFromFile(0x0010CFA9, "Skyrim.esm"): 0.496002
  20. [07/11/2021 - 03:49:51PM] aForm = Game.GetFormFromFile(0x0010CFA9, "Skyrim.esm"): 0.576019
  21. [07/11/2021 - 03:49:52PM] aForm = Game.GetFormFromFile(0x0010CFA9, "Skyrim.esm") as Form: 0.656006
  22. [07/11/2021 - 03:49:53PM] aForm = Game.GetFormFromFile(0x0003CFCD, "Dragonborn.esm") as Form: 0.655975
  23. [07/11/2021 - 03:49:54PM] aForm = Game.GetFormFromFile(0x00102F9C, "Unofficial Skyrim Special Edition Patch.esp") as Form: 0.656006
  24. [07/11/2021 - 03:50:27PM] StringUtil.Find(RandomInt(50000, 200000) as String, RandomInt(0, 100) as String): 32.236023
  25. [07/11/2021 - 03:51:01PM] RandomInt(50000, 200000) as String & RandomInt(0, 100) as String): 32.015991
  26. [07/11/2021 - 03:51:01PM] Test Total: 332
  27.  
  28. 400fps
  29. [07/11/2021 - 03:57:16PM] Result in seconds of 1000 iterations of each of the following:
  30. [07/11/2021 - 03:57:18PM] HasKeyword(1st/4): 2.003000S
  31. [07/11/2021 - 03:57:20PM] HasKeyword(4th/4): 2.011002S
  32. [07/11/2021 - 03:57:23PM] HasKeyword(N/A): 2.007999S
  33. [07/11/2021 - 03:57:25PM] aBoolean = aForm.HasKeyWord(ArmorMaterialHide): 2.065001S
  34. [07/11/2021 - 03:57:28PM] aIntBoolean = aForm.HasKeyWord(ArmorMaterialHide) as Int: 2.094000S
  35. [07/11/2021 - 03:57:33PM] aForm.HasKeyWordString("ArmorMaterialHide"): 4.004000S
  36. [07/11/2021 - 03:57:38PM] aForm.HasKeyWordString(keywordString): 4.042002S
  37. [07/11/2021 - 03:57:40PM] formName = aForm.GetName() & StringUtil.Find(formName, "Alt"): 2.027000S
  38. [07/11/2021 - 03:57:40PM] StringUtil.Find(formName, aString): 0.062000
  39. [07/11/2021 - 03:57:43PM] StringUtil.Find("john galt", "ALT"): 2.028999
  40. [07/11/2021 - 03:57:45PM] StringUtil.Find("Having it need to strINg search for a weird A stRinG within a long list of strInGs should be really slow comparitavely.", "RiNgS"): 2.008999
  41. [07/11/2021 - 03:57:48PM] StringUtil.Find("having it need to string search for a weird a strinG within a long list of strings should be really slow comparitavely.", "rings"): 2.003998
  42. [07/11/2021 - 03:57:50PM] StringUtil.Find("zzzzzzzzzzzzzzzzzzzzzzzzzzz","a"): 2.007000
  43. [07/11/2021 - 03:57:53PM] FormlistPos13/33 Total: 2.018997
  44. [07/11/2021 - 03:57:56PM] FormlistPot26/33 Total: 2.755001
  45. [07/11/2021 - 03:57:56PM] Assign property to variable: tempFormVariable = aFormProperty: 0.122002
  46. [07/11/2021 - 03:57:57PM] GetFormFromFile(0x0010CFA9, "Skyrim.esm"): 0.122002
  47. [07/11/2021 - 03:57:57PM] aForm = Game.GetFormFromFile(0x0010CFA9, "Skyrim.esm"): 0.141998
  48. [07/11/2021 - 03:57:57PM] aForm = Game.GetFormFromFile(0x0010CFA9, "Skyrim.esm") as Form: 0.161999
  49. [07/11/2021 - 03:57:57PM] aForm = Game.GetFormFromFile(0x0003CFCD, "Dragonborn.esm") as Form: 0.180000
  50. [07/11/2021 - 03:57:57PM] aForm = Game.GetFormFromFile(0x00102F9C, "Unofficial Skyrim Special Edition Patch.esp") as Form: 0.161999
  51. [07/11/2021 - 03:58:03PM] StringUtil.Find(RandomInt(50000, 200000) as String, RandomInt(0, 100) as String): 4.078999
  52. [07/11/2021 - 03:58:08PM] RandomInt(50000, 200000) as String & RandomInt(0, 100) as String): 4.021999
  53. [07/11/2021 - 03:58:08PM] Test Total: 48
Advertisement
Add Comment
Please, Sign In to add comment