daily pastebin goal
47%
SHARE
TWEET

AFPSCounter effects resources usage research

a guest Dec 10th, 2016 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Tiny research on Advanced FPS Counter effects resources usage (v. 1.3.2.0).
  2. AFPSCounter at the Asset Store:
  3. https://www.assetstore.unity3d.com/#!/content/14656?aid=1011lGBp&pubref=pastebin
  4.  
  5. Unity 4.6.1
  6.  
  7. Empty scene (camera only)
  8. CPU: 0.14ms
  9. GPU: 0.33ms
  10. Draw Calls: 1
  11. Tris: 2
  12. Verts: 4
  13.  
  14. No effects:
  15. CPU: 3.43ms
  16. GPU: 0.12ms
  17. Draw Calls: 2
  18. Tris: 1.1k
  19. Verts: 2.3k
  20.  
  21. Background:
  22. CPU 3.45ms - no extra cost
  23. GPU 0.12ms - no extra cost
  24. Draw Calls: 3 - one additional Draw Call
  25. Tris: 1.1k - no extra cost
  26. Verts: 2.3k - no extra cost
  27.  
  28. Shadow:
  29. CPU 7.65ms - costs extra 4.22 ms on CPU
  30. GPU 0.17ms - costs extra 0.05 ms on GPU
  31. Draw Calls: 2 - no extra cost
  32. Tris: 2.3k - costs extra 1.2k tris
  33. Verts: 4.5k - costs extra 2.2k verts
  34.  
  35. Outline:
  36. CPU 20.07ms - costs extra 17.64 ms on CPU!
  37. GPU 0.36ms - costs extra 0.24 ms on GPU!
  38. Draw Calls: 2 - no extra cost
  39. Tris: 5.7k - costs extra 4.6k tris
  40. Verts: 11.3k - costs extra 9k verts
  41.  
  42.  
  43. Unity 5.5
  44.  
  45. No effects:
  46. CPU: 3.06ms
  47. GPU: 4.03ms
  48. Draw Calls: 2
  49. Tris: 2.8k
  50. Verts: 7.3k
  51.  
  52. Background:
  53. CPU 3.05ms - no extra cost
  54. GPU 3.80ms - no extra cost
  55. Draw Calls: 3 - one additional Draw Call
  56. Tris: 2.8k - no extra cost
  57. Verts: 7.3k - no extra cost
  58.  
  59. Shadow:
  60. CPU 8.34ms - costs extra 5.29 ms on CPU
  61. GPU 4.79ms - costs extra 0.99 ms on GPU
  62. Draw Calls: 2 - no extra cost
  63. Tris: 3.9k - costs extra 1.1k tris
  64. Verts: 11.8k - costs extra 4.5k verts
  65.  
  66. Outline:
  67. CPU 24.02ms - costs extra 20.97 ms on CPU!
  68. GPU 6.31ms - costs extra 1.52 ms on GPU!
  69. Draw Calls: 2 - no extra cost
  70. Tris: 7.3k - costs extra 4.5k tris
  71. Verts: 21.9k - costs extra 14.6k verts
  72.  
  73.  
  74. Conclusions:
  75. - background effect costs only 1 DC, not that much for better visibility
  76. - shadow effect costs some additional CPU and GPU resources adding a lot to the visibility
  77. - outline effect is super heavy on CPU and GPU resources and not recommended unless very wanted =D
  78.  
  79. Thanks for reading this!
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top