We have a web page which is causing us a few problems.
This page resizes a particular segment after certain objects are loaded. On a very few machines, this resizing occasionally occurs too soon and messes up the UI.
I'd like to make this problem reproducible on demand, but I haven't yet been able to do so.
I've tried all the usual things like clearing the cache, artificially slowing down the connection speed - all to no avail.
have you tried any tool to restrict CPU utilization or memory? Or create a VM with very little resources? you might be able to get away with "virtually" creating old hardware.
just some random thoughts.
Good thoughts, Corey!
Yes, we've making our machines busy with other tasks, and have tried the VM route but haven't yet found a way to constrain it externally such that it works for us. Even with very little memory, the problem isn't readily reproducible.
At this point, we're going ahead and dealing with it as a "barely reproducible" problem, that we believe we have already fixed. We have gained enough confidence that we haven't introduced any side-effects, and will be releasing the code to Production.
Not changing script itself, I'm thinking whether we can use any anti virus' feature like script scan to slow down the execution.
We seem to have found a way to make our problem reproducible on demand without instrumenting any code.
As always seems to be the case - it's easy once you know the secret!
I'm not sure if this would help, but I use CPUKiller to 'emulate' slower machines :
Apart from that, you may have to post your question in a dedicated JS forum.