Skip to content

Performance measurements of the Globe library compared to Intl and Moment

Notifications You must be signed in to change notification settings

TomasHubelbauer/globe-perf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Globe Performance

Comparing Globe with pure Intl and Moment.

This test only covers using Globe on the web, Node tests are not provided.

Running

Run this script in Bash or Posh:

./run

Results

See results.md.

Intl is consistently the fastest, Moment is about 5x slower and Globe is almost just as fast as Intl as it merely wraps it and caches the Intl instance after the cache warm run.

To-Do

Profile Intl and Globe and determine the bottle-neck in Globe