christophercrouzet / revl

Licence: MIT license
Helps to benchmark code for Autodesk Maya.

Programming Languages

python
139335 projects - #7 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to revl

gt-tools
GT Tools is a free collection of scripts for Autodesk Maya
Stars: ✭ 44 (+214.29%)
Mutual labels:  maya, autodesk
node calculator
Create Maya node-network by entering a math-formula.
Stars: ✭ 56 (+300%)
Mutual labels:  maya, autodesk
onionSkinRenderer
This is an Onion Skin Renderer for Autodesk Maya
Stars: ✭ 93 (+564.29%)
Mutual labels:  maya, autodesk
Cob
Continuous Benchmark for Go Project
Stars: ✭ 326 (+2228.57%)
Mutual labels:  benchmark, test
cmdc
Maya Python API 3.0
Stars: ✭ 98 (+600%)
Mutual labels:  maya, autodesk
Pytest Patterns
A couple of examples showing how pytest and its plugins can be combined to solve real-world needs.
Stars: ✭ 24 (+71.43%)
Mutual labels:  benchmark, test
bana
Set of extensions for Autodesk Maya's Python API.
Stars: ✭ 32 (+128.57%)
Mutual labels:  maya, autodesk
playwright-test
Run unit tests with several runners or benchmark inside real browsers with playwright.
Stars: ✭ 81 (+478.57%)
Mutual labels:  benchmark, test
python-pytest-harvest
Store data created during your `pytest` tests execution, and retrieve it at the end of the session, e.g. for applicative benchmarking purposes.
Stars: ✭ 44 (+214.29%)
Mutual labels:  benchmark, test
nowplaying-RS-Music-Reco-FM
#nowplaying-RS: Music Recommendation using Factorization Machines
Stars: ✭ 23 (+64.29%)
Mutual labels:  benchmark
beapi-bench
Tool for benchmarking apis. Uses ApacheBench(ab) to generate data and gnuplot for graphing. Adding new features almost daily
Stars: ✭ 16 (+14.29%)
Mutual labels:  benchmark
constyble
CSS complexity linter
Stars: ✭ 92 (+557.14%)
Mutual labels:  test
hood
The plugin to manage benchmarks on your CI
Stars: ✭ 17 (+21.43%)
Mutual labels:  benchmark
cpm
Continuous Perfomance Monitor (CPM) for C++ code
Stars: ✭ 39 (+178.57%)
Mutual labels:  benchmark
typescript-orm-benchmark
⚖️ ORM benchmarking for Node.js applications written in TypeScript
Stars: ✭ 106 (+657.14%)
Mutual labels:  benchmark
Yurlungur
The universal scripting wrapper for Maya, Houdini and Unreal Engine.
Stars: ✭ 51 (+264.29%)
Mutual labels:  maya
cypress-test-tiny
Tiny Cypress E2E test case
Stars: ✭ 48 (+242.86%)
Mutual labels:  test
benchmarking-fft
choosing FFT library...
Stars: ✭ 74 (+428.57%)
Mutual labels:  benchmark
node-vs-ruby-io
Node vs Ruby I/O benchmarks when resizing images with libvips.
Stars: ✭ 11 (-21.43%)
Mutual labels:  benchmark
generator-react-jest-tests
A React Jest test generator. Generates snapshot tests for React components.
Stars: ✭ 34 (+142.86%)
Mutual labels:  test

Revl

PyPI latest version Documentation status License

Revl is a Python library that helps to benchmark code for Autodesk Maya.

Upon writing a piece of code for Maya, it might be interesting to know how it performs under different conditions, such as within scenes that are large or small, that define a deep DAG hiearchy or a flat one, that use many node types or only a few, and so on.

Following sets of user-provided commands, Revl can pseudo-randomly generate Maya scenes with different properties against which the behaviour of a piece of code can be observed.

The random nature of the process can also help revealing potential bugs by exposing edge cases that were not thought of, thus making it also a good tool for unit testing. See Wikipedia's Fuzzing page.

Note that Revl does not provide any sort of profiling tool to measure performances. The built-in timeit module as well as other open-source packages can be used for this purpose.

Features

  • generates scenes by running commands a given total number of times.
  • fine control over the probability distribution for each command.
  • scene generations are reproducible using a fixed seed.
  • extensible with custom commands.
  • allows for fuzz testing.
  • fast (using Maya's API, not the command layer).

Usage

>>> import revl
>>> commands = [
...     (4.0, revl.createTransform,),
...     (1.0, revl.createPrimitive, (), {'parent': True}),
... ]
>>> count = 100
>>> revl.run(commands, count, seed=1.23)

In this example, Revl invokes a total of 100 evaluations inequally shared between the two distinct commands provided, leading to create approximatively 80% of transforms, and 20% of primitives (plus their associated transforms). Also, the primitive type is picked randomly, and each primitive's transform is randomly parented under another transform from the scene, possibly creating a scene with a deep DAG hierarchy.

See the Tutorial section from the documentation for more detailed examples and explanations on how to use Revl.

Documentation

Read the documentation online at revl.readthedocs.io or check its source in the doc directory.

Out There

Projects using Revl include:

Author

Christopher Crouzet <christophercrouzet.com>

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].