1)Create new project (FPS Template)
2)Open "07-AI and Events.map"
3)Disable Vsync ( Main.lua line 81 context:Sync(false))
4)Play the game, you will noticed that when the flashlight hit "controller.mdl" at certain angle the performance drop is quite big.
These screenshots are at default settings and resolution (except vsync is off)
1)Flashlight on
https://dl.dropboxusercontent.com/u/65841566/Leadwerks/Leadwerks%204.2RC4%20Flash%20part%201.jpg
2)Flashlight off
https://dl.dropboxusercontent.com/u/65841566/Leadwerks/Leadwerks%204.2RC4%20Flash%20part%202.jpg
1)Flashlight on
https://dl.dropboxusercontent.com/u/65841566/Leadwerks/Leadwerks%204.2RC4%20Flash%20part%203.jpg
2)Flashlight off
https://dl.dropboxusercontent.com/u/65841566/Leadwerks/Leadwerks%204.2RC4%20Flash%20part%204.jpg
If I change the resolution to 1920x1080, msaa=2, fullscreen , anisotropy filtering=16, vsync on and lighting to "2", it will easily drops to 45-48 ish at the same angle or room. If I turn off the flashlight, the speed will be 60fps.
My spec
I72600k
8GB
970GTX Latest driver
Windows 10 64bit
These screenshots are from (1920x1080, msaa=2, fullscreen , anisotropy filtering=16, vsync on and lighting to "2")
1)Flashlight on
https://dl.dropboxusercontent.com/u/65841566/Leadwerks/Leadwerks%204.2RC4%20Flash%20part%206.jpg
2)Flashlight off
https://dl.dropboxusercontent.com/u/65841566/Leadwerks/Leadwerks%204.2RC4%20Flash%20part%205.jpg
This bug or performance impact causes some stuttering to happens. The performance drops will remain there until I turn off the flashlight.