issuu / ocaml-protoc-plugin

ocaml-protoc-plugin
https://issuu.github.io/ocaml-protoc-plugin/
Other
48 stars 19 forks source link

Expand testing #61

Closed andersfugmann closed 6 months ago

andersfugmann commented 7 months ago

This pull request includes a series of changes primarily focused on improving the benchmarking process and modifying the deserialization process in the OCaml Protoc Plugin. The main changes include adding a new test function for integer tests, increasing the benchmark quota, adding a new empty.proto file, and making significant changes to the deserialize.ml and deserialize.mli files.

Benchmarking improvements:

Additions to the codebase:

Changes to the deserialization process:

andersfugmann commented 7 months ago

Copilot generate summary, which is actually not too bad :-)

I'd add that the PR refactors deserialization and extends testing to test both fast and full deserialization though use of the test lib, by doing dependency injection.

Benchmarks are also updated to test serialization and deserialization of empty messages and some other tuning

andersfugmann commented 6 months ago

Closing as developement has moved to https://github.com/andersfugmann/ocaml-protoc-plugin