https://github.com/webcaetano/js-tests
Javascript Tests
https://github.com/webcaetano/js-tests
Last synced: 4 months ago
JSON representation
Javascript Tests
- Host: GitHub
- URL: https://github.com/webcaetano/js-tests
- Owner: webcaetano
- License: mit
- Created: 2016-01-24T22:21:07.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-03-28T08:16:50.000Z (about 10 years ago)
- Last Synced: 2025-05-21T06:11:32.178Z (about 1 year ago)
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# js-tests
Javascript Tests
# Tests
#### Push vs Manual Push `Array insert`
http://jsbin.com/giturolafe/1/edit?js,console
Result:
```
push: 1648.202ms
manual: 324.871ms
```
#### Plus vs Number `Str to Num`
http://jsbin.com/lebufeqilo/1/edit?js,console
Result:
```
number: 1132.844ms
plus: 1389.620ms
```
#### Double Bitwise vs Math.floor `Number round`
http://jsbin.com/duhepazewo/1/edit?js,console
Result:
```
bitwise: 157.803ms
floor: 390.793ms
```
#### Quotes vs String() `Parse to string`
http://jsbin.com/qorozudare/1/edit?js,console
Result:
```
quotes: 2760.055ms
string: 3690.624ms
```