CSSASS (v21)

Revision 21 of this benchmark created by ONEBOYS on


Description

swap

Test runner

Ready to run.

Testing in
TestOps/sec
XOR
(function(a,b){
a ^= b;
b ^= a;
a ^= b;
})(1,2);
ready
Normal
(function(a,b){
var t = a;
a = b;
b = t;
})(1,2)
ready
Fun
(function(a,b){
a=[b][b=a,0]
})(1,2)
ready
Future
(function(a,b){
[a,b] = [b,a]
})(1,2);
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.