ScriptSpot home

Expression Benchmark

Downloads

  • Version 1.06Listed version

    Listing updated

    Release notes

    Update 1.06 - Optimized general code, and fixed bug where total time and memory weren't being updated properly after expressions were erased and evaluated again.

Earlier releases (5)
  • Version 1.05

    Release notes

    Update 1.05 - Added buttons to copy each expression's result to the clipboard.

  • Version 1.04

    Release notes

    Update 1.04 - Limited the width of each expression's result, which used to cause lag if the result was really long.

  • Version 1.03

    Release notes

    Update 1.03 - Added error handling. When there is an error in the expression, the macroscript no longer gets broken, requiring the macroscript to be reopen. Instead the error gets printed to the listener.

  • Version 1.02

    Release notes

    Update 1.02 - Clicking on any execute expression buttons now resets the values for the expression's time, memory, and result, if the expression is empty. Executing all expressions, also resets values for any empty expressions.

  • Version 1.01

    Release notes

    Update 1.01 - Added buttons to execute individual expressions. Total times and memories are added from the executed expression and from existing expressions.

3ds Max compatibility
Unknown
Report a problem
Community compatibilityNo compatibility reports yet

No reports yet for the available releases.

Community reviewsNo reviews yet.

Listing details

Version
1.06
Author’s update date
Legacy votes
4
Listing created
How compatibility works

Compatibility comes from the author’s supported range or requirements in the original listing. A tested version records what the author tried.

“2020 unconfirmed” in the catalog means support for 3ds Max 2020 is still unknown.

Community reports record successful tests on specific releases.

Posted by

Ian31R

Credited author: Ian Adams

More by this author

Description

Expression Benchmark is a script for diagnosing multiple expressions for speed and memory usage. Each expression shows a resulting executing time and memory size, at the same time showing what the expression returned.  Each expression also has the option to turn redraw and undo, on or off for the duration of each expression.  Expressions can be ran multiple times with the Iterations parameter, resulting in an average for execution time and memory usage.  There is also an option to perform auto garbage collection, manual garbage collection, and perform garbage collection in between each expression.  You can also change the time and memory units.

Can especially be useful for evaluating multple functions, instead of needing the listener, and seeing how fast they are after optimizing them.

Includes two macroscripts, one which is used for evaluating ten single-line expressions, and one for evaluating 3 multi-line expressions.

Usage - Run macroscript file, and use customize user interface to lauch the macros from the IA Extensions category.

Update 1.01 - Added buttons to execute individual expressions.  Total times and memories are added from the executed expression and from existing expressions.

Update 1.02 - Clicking on any execute expression buttons now resets the values for the expression's time, memory, and result, if the expression is empty.  Executing all expressions, also resets values for any empty expressions.

Update 1.03 - Added error handling.  When there is an error in the expression, the macroscript no longer gets broken, requiring the macroscript to be reopen.  Instead the error gets printed to the listener.

Update 1.04 - Limited the width of each expression's result, which used to cause lag if the result was really long.

Update 1.05 - Added buttons to copy each expression's result to the clipboard.

Update 1.06 - Optimized general code, and fixed bug where total time and memory weren't being updated properly after expressions were erased and evaluated again.

Comments (1)
Branko Živković

+1

Interesting tool.
Thanks for sharing.