New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@box2d/benchmark

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@box2d/benchmark

A benchmark to compare various js/ts Box2D implementations

0.7.2
Version published
Weekly downloads
9
-10%
Maintainers
1
Weekly downloads
 
Created

@box2d/benchmark

A benchmark to compare various js/ts Box2D implementations.

Based on bench2d by joelgwebber

Example output using node.js v12.16.3

Nameavg ms/frame5th %ile95th %ileRatio
box2d.js2.75241.00
box2d-web4.68461.71
@box2d/core9.231093.36
box2d-html511.5910134.22
@flyover/box2d18.3316216.68
planck.js23.3919288.52

Example output using Firefox 81

Nameavg ms/frame5th %ile95th %ileRatio
box2d-web13.701081.00
@box2d/core15.1016121.10
box2d-html519.1216401.40
box2d.js23.0837201.69
@flyover/box2d25.8938231.89
planck.js111.9064408.17

Example output using Chrome 86

Nameavg ms/frame5th %ile95th %ileRatio
box2d.js5.47661.00
box2d-web6.96661.27
@box2d/core10.051071.84
box2d-html511.0511102.02
@flyover/box2d17.8320173.26
planck.js23.1725184.23

FAQs

Package last updated on 08 Nov 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts