HTML Preparation code:
AخA
 
1
<script src='https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.22.0/moment.min.js'></script>
Tests:
  • Moment

     
    moment.utc('2022-09-01T17:15:19.990Z').add(1, 'd');
  • Native

     
    new Date(new Date('2022-09-01T17:15:19.990Z').getDate() + 1).toISOString();
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    Moment
    Native

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 years ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36
Chrome 104 on Linux
View result in a separate tab
Test name Executions per second
Moment 58678.2 Ops/sec
Native 703315.8 Ops/sec