# Miscellaneous

Now for some miscellaneous data which doesn’t directly relate to toggles, but might be useful to someone:

- <span class="notion-enable-hover" data-token-index="0">State count per layer and transition count don’t seem to matter much (which might be why AnyState is so cheap)</span>
    - <span class="notion-enable-hover" data-token-index="0">The only time where this isn’t true is if there are many bool transitions out from a single state (many here meaning 1000 for 1 ms). Float/Int seems to not have this added overhead</span>
- <span class="notion-enable-hover" data-token-index="0">Using empty layers on humanoid rigs, using non-humanoid rigs and using no avatar all seem to cut frame time per layer by about 50% compared to the two state setup</span>
- <span class="notion-enable-hover" data-token-index="0">Masking seems to have little to no effect on frame time</span>
- <span class="notion-enable-hover" data-token-index="0">Using sub-state machines seems to have little to no effect on frame time</span>
- <span class="notion-enable-hover" data-token-index="0">Nesting blendtrees for clarity seems to have little to no effect on frame time</span>
- <span class="notion-enable-hover" data-token-index="0">For Direct Blend Trees, WD off seems to not change frame times by much</span>
- <span class="notion-enable-hover" data-token-index="0">For layer toggles, WD off seems to increase frame time by around 50%</span>
- <span class="notion-enable-hover" data-token-index="0">Parameters on the local avatar seem to cost 1.5 ms per 1000, but this cost doesn’t apply to remote avatars</span><span class="notion-enable-hover" data-token-index="0">  
    </span>

Since face tracking takes up many layers, I wanted to do a comparison between a normal VRCFT controller, and a FX controller generated by Razgriz’s [VRCFTGenerator](https://github.com/rrazgriz/VRCFTGenerator) (which packs the layers into Blend Trees).

I won’t bore you with the graphs, since they are just a straight line, but as for the data (this is with 37 face tracking parameters):

- VRCFT: 0.1733 ms per controller
- VRCFTGenerator: 0.066 ms per controller, a 62% decrease over the non Blend Tree version.