Run details:
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36
Chrome 56
Windows 7
Other
7 years ago
Test name Executions per second
DeepDiff (beforeText, afterText) 11194.0 Ops/sec
MongoDBDiff.diff(beforeText, afterText) 9672.1 Ops/sec
MongoDBDiff.diff *.toJS() 5378.8 Ops/sec
ImmutableDiff two mostly shared objects 33424.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • DeepDiff (beforeText, afterText)

  • MongoDBDiff.diff(beforeText, afterText)

  • MongoDBDiff.diff *.toJS()

  • ImmutableDiff two mostly shared objects


;