• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by CHull · Mar 31, 2015 at 10:33 AM · unity 5profiler

Values in Unity Profiler

I am using the unity profiler to measure performance of my demo. However I am having a hard time understanding the values output. I'll just use the below links profiler pic:

http://docs.unity3d.com/Manual/ProfilerCPU.html

In the first image here it says CPU:0.51ms GPU:1.10ms. 1. I know these values are in milliseconds, but what do they mean? 0.51ms to do what? 2. Am I correct in assuming that the total percentage of camera.render, 41.1%, means that of the 0.51ms, 41.1% of that is camera.render? 3. In the graph area we have 4ms(250fps) and 1ms(1000fps), again what do these values mean? Is it that if a spike hits here it took 4ms to process whatever happened?

Any help would be greatly appreciated!

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by Graham-Dunnett · Mar 31, 2015 at 10:41 AM

The CPU took 0.51ms to loop from one frame to the next. The GPU took 1.1ms to render the scene.

Yes, 41.1% of the CPU time was spent inside Camera.Render().

The graph shows how the performance is varying from frame to frame. The graph is showing the performance is varying between less than 1ms, and more than 1ms. In the frames that are less than 1ms, the frame rate will be faster than 1000fps. In the occasional spike the framerate will be closer to (probably) 500fps. If the spike did hit the 4ms line, then you'd get a fps of 250fps. Note that this profiler window is showing a scene which is probably rendering nothing at all, so the time around the frame loop is very very fast, and the GPU is probably only clearing the frame buffer and rendering a blue background.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image CHull · Mar 31, 2015 at 10:43 AM 0
Share

Perfect! ty for explaining :)

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Unable to connect profiler to WebGL 2 Answers

Updating Unity caused significant performance loss in Physics 1 Answer

Profiler InputProcess 90%. Why? 0 Answers

Unity Profiler - Physics optimization (FPS drop) 0 Answers

Unaccounted time between: Start of Frame and Camera.FindStacks 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges