Skip to content

Instantly share code, notes, and snippets.

@fabianoriccardi
Last active July 10, 2021 09:01
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save fabianoriccardi/40bf4247f4d762dd483a765c0c2cba41 to your computer and use it in GitHub Desktop.
Save fabianoriccardi/40bf4247f4d762dd483a765c0c2cba41 to your computer and use it in GitHub Desktop.
Benchmark of JSON vs MessagePack (de)serializazion with ArduinoJson on MCUs
@bblanchon
Copy link

deserializeJson() and deserializeMsgPack() already reset the document, so you don't need to call JsonDocument::clear().

@fabianoriccardi
Copy link
Author

Thanks for the correction! Fix done

@fabianoriccardi
Copy link
Author

Added benchmark on ESP32-32 (developmental version of the core)

@fabianoriccardi
Copy link
Author

Added benchmark on Arduino Nano 33 IoT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment