Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Benchy Profiler - A simple benchmarking and profiling tool for Unity Free!

Discussion in 'Assets and Asset Store' started by Univerb-Gaming, Jul 16, 2012.

  1. Univerb-Gaming

    Univerb-Gaming

    Joined:
    Jun 28, 2012
    Posts:
    255
    Hi Andy,

    Mail received, replied and looking into it.

    Cheers
     
  2. Ellandar

    Ellandar

    Joined:
    Jan 5, 2013
    Posts:
    207
    Hi,

    I do have one suggestion and it is probably quite a small/easy thing to do.
    The use of Yellow/Green/Red on your status icons is problematic for the %10 of males and %2 of females in the world that are colorblind. Perhaps you could go with Green/Yellow/Blue (Good/Worrisome/Bad) indicators instead.

    At the moment I have no way of seeing the difference between a green and red indicator at all without using a screen color helper application.

    -Ell
     
  3. Univerb-Gaming

    Univerb-Gaming

    Joined:
    Jun 28, 2012
    Posts:
    255
    Hi Ellander!

    Thank you for the suggestion and you've taught me something about the subject. I will definitely implement your suggested fix for the new 3.0 version as well as a patch (2.3.2). The patch will be made available this month still through AS.

    In the meantime please could you send me your email via PM and I'll send through new icons for the time being.
     
  4. Ellandar

    Ellandar

    Joined:
    Jan 5, 2013
    Posts:
    207
    Hi Univerb,

    Thanks for the quick response. The profiler is coming along really well, I alternate between yours and the unity one depending on what i'm troubleshooting (Garbage collector with unity one mainly).

    - Ell
     
  5. Casto

    Casto

    Joined:
    Aug 14, 2013
    Posts:
    44
    Hi there,

    Is it possible to micro-profile the code running in threads with Benchy?
    The Unity profiler ignores threads and calling Profiler.BeginSample from a thread is prohibited (which is just scandalous). Is there the same limitation with Benchy?
     
    Arkade likes this.
  6. Univerb-Gaming

    Univerb-Gaming

    Joined:
    Jun 28, 2012
    Posts:
    255
    Hi Casto,

    Thank you for your query. If you could send through a small project sample I can confirm the output with you. I seem to recall going through a similar process before with some success.
     
  7. Univerb-Gaming

    Univerb-Gaming

    Joined:
    Jun 28, 2012
    Posts:
    255
    Hi Casto,

    Thanks for the pm, I've mailed you back.
     
  8. Univerb-Gaming

    Univerb-Gaming

    Joined:
    Jun 28, 2012
    Posts:
    255
    As explained in posting http://forum.unity3d.com/threads/be...ool-for-unity-free.143895/page-4#post-1736819 feature development for Benchy Profiler 2.x has come to an end but that forward new 2.x releases will mostly be hot fixes until the release of 3.0.

    With this in mind Benchy Profiler has received the 2.3.2 hot fix and this has been submitted to the Asset Store for approval today.

    What is included in the 2.3.2?

    1.) Accessibility patch for red status on method profiling screen. Available from configuration screen
    2.) Performance fixes around class / library folder exclusions (IE: DF GUI)
    3.) Bug fix on method list display affecting some first time users of Benchy Profiler

    As always thank you for your ongoing support and encouragement.
     
  9. Univerb-Gaming

    Univerb-Gaming

    Joined:
    Jun 28, 2012
    Posts:
    255
    2.3.3 is on the way to the Asset Store

    What is new in 2.3.3?
    ===============
    1.) New logic around OnDevice Android SDK and Oracle JDK resolution
     
  10. Frenchie92

    Frenchie92

    Joined:
    Jul 4, 2013
    Posts:
    10
    Just bought Benchy today and every time I launch the auto profiler it freezes Unity (4.6.2) :(
     
  11. Scotty_

    Scotty_

    Joined:
    Dec 16, 2014
    Posts:
    3
    Also had this issue, turns out I had to wait for like 30 seconds after hitting auto profile for it to start.

    Once the profiler opens the game runs at 3 fps in the background (without auto-profiler would run at around 100 fps). Once I actually hit go, it would drop to 1 frame every 6 seconds, practically useless for any profiling,

    This is on lightest performance profile, without any GUI (I noticed some people had issues with GUIs + auto profile), and with only "method profiler" selected.

    I haven't got any experience with profilers, is it expected that profiler overhead cuts performance by this much?
     
  12. Univerb-Gaming

    Univerb-Gaming

    Joined:
    Jun 28, 2012
    Posts:
    255
    @Frenchie92 thank you for your email. I've requested a meeting via Skype to check your environment out.

    @Scotty_ thank you for adding more info, your issue is different however, please could you pm me your email address and I'll get a hold of you directly to setup a Skype session and show you where your bottleneck is causing this.
     
  13. Univerb-Gaming

    Univerb-Gaming

    Joined:
    Jun 28, 2012
    Posts:
    255
    2.3.4 has been accepted by for Asset Store and should be live within the next couple of hours.

    What is new in 2.3.4?
    ===============
    1.) Hotfix to address auto profiling crash experienced by some users of 2.3.2 / 2.3.3
     
  14. Arkade

    Arkade

    Joined:
    Oct 11, 2012
    Posts:
    653
    Hi @Casto @Univerb Gaming
    What was the conclusion on Benchy profiling threads?

    I'm trying to address this atm. I own Benchy already but had (maybe incorrectly) assumed Unity 5 profiler superseded. Having hit Unity Profiler's threading limitation, I'm looking for better solutions and hope Benchy might save me? (you're my only hope! ... well, not quite ;-) )

    Thanks!

    p.s. The Univerb website seems to be broken -- it's showing some default parallels thing?!
     
  15. Univerb-Gaming

    Univerb-Gaming

    Joined:
    Jun 28, 2012
    Posts:
    255
    Hi Arkade,

    As far as I recall the test project submitted was successful. I'm prepared to refund you if after purchasing you're not able to use it for your requirement. Alternatively to save on that process if you have a simple sample project you'd like me to test this side, send through to univerbgamingstudios@gmail.com

    On the website, to consolidate response and knowledge base moved all here.
     
    Arkade likes this.
  16. parkerberg

    parkerberg

    Joined:
    Dec 1, 2013
    Posts:
    2
    Hello, I downloaded Benchy the other day to make up for the free version of Unity I have. So far this has really helped me narrow down and clarify some issues on mobile that I have had, much better than turning things on and off to find the issue.

    I do have one thing to mention, this is why I'm posting. If I run Benchy for a test or two it will work, record, all good but when I go back to dev and run the game without starting a session I get some errors and I have to restart Unity to get out of it.

    Some of the errors:

    FileNotFoundException: Could not load file or assembly 'UnityEngine.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
    TypeLoadException: Could not load type 'UnityEditor.UI.GraphicEditor' from assembly 'UnityEditor.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
    System.MonoCustomAttrs.GetCustomAttributesBase (ICustomAttributeProvider obj, System.Type attributeType) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System/MonoCustomAttrs.cs:108)
    System.MonoCustomAttrs.GetCustomAttributes (ICustomAttributeProvider obj, System.Type attributeType, Boolean inherit) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System/MonoCustomAttrs.cs:151)
    System.MonoCustomAttrs.GetCustomAttributes (ICustomAttributeProvider obj, Boolean inherit) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System/MonoCustomAttrs.cs:273)
    System.Reflection.Assembly.GetCustomAttributes (Boolean inherit) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/Assembly.cs:240)
    UnityEditor.AssemblyHelper.IsTypeInEditorAssembly (System.Type t) (at C:/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:28)


    Then it starts erroring out some of my game objects as well (not their fault).
     
  17. Univerb-Gaming

    Univerb-Gaming

    Joined:
    Jun 28, 2012
    Posts:
    255
    Woah, that error looks pretty nasty. Which version of Unity are you using. Can you pass on reproduction steps of any kind.

    Will dedicate time to look into this for you and thanks for alerting me to the issue.
     
  18. parkerberg

    parkerberg

    Joined:
    Dec 1, 2013
    Posts:
    2
    Unity 4.6.3f1 It seems to have disrupted the DLLs or .NET target. It not continues to spit out this error whenever I attempt to play the game in the editor.

    ReflectionTypeLoadException: The classes in the module cannot be loaded.

    It points to an Assembly.cs file at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/Assembly.cs:371

    It started after running a few sessions. I'm not exactly sure how you can recreate it, it's likely the way I installed the module.

    It may have corrupted the UnityEngine.dll, I've been googling "ReflectionTypeLoadException: The classes in the module cannot be loaded." and some mention broken DLLs.
     
  19. Univerb-Gaming

    Univerb-Gaming

    Joined:
    Jun 28, 2012
    Posts:
    255
    Thanks for your feedback. I will download a copy 4.6.3.

    The good news is nothing Benchy injects into is permanent, when you stop the editor it restores the environment.

    If something happens between those two points the fix project option under the Benchy menu resolves the issue.

    What you're describing sounds to me like an event occurring sometime into profiling and when it runs (game object becomes active / script runs for first time) we see an error.

    This error could signify a failed injection, something I've seen years ago in early versions of Benchy and fixed.

    I'm wondering, would you be able to mail me a failing sample? It's sounding very specific to something in that project.

    You can mail me any time, univerbgamingstudios@gmail.com
     
  20. Univerb-Gaming

    Univerb-Gaming

    Joined:
    Jun 28, 2012
    Posts:
    255
    @parkerberg I've tested against 4.6.3 but couldn't recreate the issue. However in your posting you mentioned it errors after not starting a session. Ie hitting the play button.

    Could you check the console after you stop profiling next time, you should see output that Benchy is restoring your assemblies. If anyone errors are present there it will point to the issue and I can take a better look.

    You should also be using the latest version of Benchy Profiler if not already on it.

    Keep me updated on this and please get in contact for a meet up via Skype to continue assistance.

    Regards,
    Univerb.
     
  21. Univerb-Gaming

    Univerb-Gaming

    Joined:
    Jun 28, 2012
    Posts:
    255
    Special

    I'll be running a good special on Benchy Profiler the next week or so, at least 30% off. Add the item to your wish lists now: https://www.assetstore.unity3d.com/en/#!/content/3872

    Benchy Profiler 3

    I've been hard at work on Benchy Profiler 3. A bit behind schedule but the wait will be well worth it. I'll update you all a bit more the coming months. Benchy Profiler 2 is still supported and remember - the upgrade to Benchy Profiler 3 will be free for existing license holders.
     
  22. nick99

    nick99

    Joined:
    Oct 9, 2014
    Posts:
    1
    Hi! Is it supposed to work with Unity 5? Any guidance on when it is gonna be?
     
    Last edited: Nov 25, 2015
  23. Univerb-Gaming

    Univerb-Gaming

    Joined:
    Jun 28, 2012
    Posts:
    255
    Hi nick99

    Unity 5 worked no problem in previous testing, Benchy Profiler 3 development is all on 5. If you're an existing customer and have an issue, please make contact via univerbgamingstudios@gmail.com so I can help you.