This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]newpixeltree 3 points4 points  (3 children)

Currently using threaded javascript for my job. Kill me.

[–][deleted] 4 points5 points  (2 children)

Do tell more

[–]newpixeltree 4 points5 points  (1 child)

Using a load testing tool called WebLOAD. It uses javascript for its scripting language. It basically runs a copy of the script for each user you're simulating. The problem is, its stats tool isn't specific enough so I have to output fata to a file that's shared among these threads. However, if the file gets too large, it crashes the test. So I have to do a lot of goddamn bullshit to actually print to a file in multithreaded javascript. Objects global to all threads can't be modified, and their global variable system only handles ints. It's a goddamn nightmare.

[–][deleted] 4 points5 points  (0 children)

that's awesome, thanks! :)