last day (17 days later) » 

Hey Mark
I rethought about your question and had a few questions.
You mentioned that you're looking to test the library for GPU/CPU load right?
 
Greetings :)
Yep, that's right.
Note that I made some slight updates to my fiddle while you were gone: jsfiddle.net/frank_o/amvvkm9z/4
 
Cool haha
I was wondering what framework you're using to monitor GPU/CPU?
 
Basically this dude Callum Macrae made an interesting fix to Parallax and I'm trying to provide some hard evidence that it's actually an improvement: github.com/wagerfield/parallax/pull/90
I have no idea just yet
 
10:01 PM
Right right
I'm pretty big on gaming so I've gone through a few applications that can test for GPU/CPU stress and usage
 
Nice!
Is there a way to keep it "all in the fiddle" so to speak?
 
I'm starting to question whether Javascript might be the best implementation for simulating user events; hence why I became hesitant about answering your JSFiddle part of the question haha
Unfortunately not
If you choose to use JS to simulate user interaction, it'll negatively affect the integrity of your test results
 
Aha :)
Oh I see
 
However, what you can do is to run a full-screen local instance of your Parallax
And use a keyboard/mouse macro to move your mouse for however long you need
At the same time, you can have the GPU/CPU capture application running to view any particular changes
 
Which GPU/CPU capture app and how do I do that whole keyboard/mouse thing?
Alternatively, if you already have these things set up, any chance you could run this test and provide me with the numbers?
My NVidia card blacks out every 20 seconds so I had to disable its driver so I'm not so sure how accurate my test results would be
 
10:17 PM
Sorry I just went through load testing on my server so my Interwebz got owned
For recording, I recommend JitBit's Macro Recorder
The free edition will suffice to your needs; using it is easy - press record, circle your mouse like crazy (exaggerate it since you're stress testing) and then hotkey to stop recording
For GPU/CPU capture, I personally use MSI Afterburner because my GPU is MSI so the software came bundled
But I would also recommend NZXT Cam or HWINFO64, of which the latter is more accurate
 
Cool thanks
The reason I'd like to define the movements prior to testing though is to ensure both the original and the fixed Parallax gets the same treatment.. think this would be possible?
 
I think a more accurate type of testing would be browser stress testing
It definitely would be possible but some work would have to be done
 
I see..
 
I've never used Parallax myself - but in general, looping through an array of set values (which is what you have right now) with JS setInterval(function(){}, num); would do the trick
So that the same values are sent over and over to your Parallax instance
If you open the source of Parallax, you can try to find where the event bindings for .mousemove is located
Step through the function with debugger; and try to see if you can find a variable or callback that you attach your array to so that the origin values can be put in a loop.
Off work now, good luck!
 
Wiat hold up!!
Darnit
ok man thanks a bunch :)
was wondering how to do the whole setInterval(function(){}, num); thing though if you're still there
get the motion thing working first before i worry about testing
When you come back -- is there any chance I could hire you to help? Sorry if my offer offends you, I know some people don't like to talk about money.
I'm just a front-end designer so all this tech stuff is way above my head :) Let me know! Cheers
 

  last day (17 days later) »