Skip to content

Instantly share code, notes, and snippets.

@fabianoriccardi
Last active July 10, 2021 09:01
Show Gist options
  • Select an option

  • Save fabianoriccardi/40bf4247f4d762dd483a765c0c2cba41 to your computer and use it in GitHub Desktop.

Select an option

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
Copy Markdown

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

@fabianoriccardi
Copy link
Copy Markdown
Author

Thanks for the correction! Fix done

@fabianoriccardi
Copy link
Copy Markdown
Author

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

@fabianoriccardi
Copy link
Copy Markdown
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