OCaml binding to mysql client libraries. Works with MariaDB via MariaDB Connector/C (libmariadb or libmariadblcient) and Oracle MySQL via MySQL Connector/C (libmysqlclient).
This project is based on ocaml-mysql by Shawn Wagner (version 1.0.4 released in 2006). The initial goal was to fix bugs and add prepared statements support.



Horizontal axis shows the number of columns (and as such the number of values in each put/get request). Vertical axis shows resource usage (time, memory, GC) -- on all graphs less is better. All databases were configured to store data in memory so this test primarily measures the speed of communication with database (and bindings implementation).