Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36
Chrome 73
Mac OS X 10.14.3
Desktop
5 years ago
Test name Executions per second
DeepDiff (beforeText, afterText) 67970.1 Ops/sec
MongoDBDiff.diff(beforeText, afterText) 55740.7 Ops/sec
MongoDBDiff.diff *.toJS() 33716.3 Ops/sec
ImmutableDiff two mostly shared objects 148909.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • DeepDiff (beforeText, afterText)

  • MongoDBDiff.diff(beforeText, afterText)

  • MongoDBDiff.diff *.toJS()

  • ImmutableDiff two mostly shared objects