Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36
Chrome 53
Windows
Other
8 years ago
Test name Executions per second
DeepDiff (beforeText, afterText) 3685.2 Ops/sec
MongoDBDiff.diff(beforeText, afterText) 3424.6 Ops/sec
MongoDBDiff.diff *.toJS() 1831.0 Ops/sec
ImmutableDiff two mostly shared objects 13495.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • DeepDiff (beforeText, afterText)

  • MongoDBDiff.diff(beforeText, afterText)

  • MongoDBDiff.diff *.toJS()

  • ImmutableDiff two mostly shared objects


;