v2.8.3
版本发布时间: 2022-06-30 22:04:21
hasura/graphql-engine最新发布版本:v2.44.0(2024-10-08 18:36:54)
This is a patch release for v2.8.2
Changelog
Bug fixes and improvements
-
cli: fix performance regression with large metadata in
metadata apply
During the execution of
metadata apply
command, the YAML metadata is converted into JSON format because the server API accepts metadata in JSON format. For large metadata(> ~20k LOC), due to a recent change this conversion was taking upwards of 2 minutes of time, increasing exponentially with metadata size.
With the changes in this release, the performance regression has been fixed. Following is a benchmark comparison of time taken for YAML to JSON conversion before and after the changes for different metadata sizes:Metadata size(LOC) Before(seconds) After(seconds) 10k 8.7 0.22 20k 15.9 0.29 50k 89.5 0.52 100k 271.9 0.81 300k - 2.3
1、 cli-hasura-darwin-amd64 75.14MB
2、 cli-hasura-darwin-arm64 75.21MB
3、 cli-hasura-linux-amd64 23.45MB
4、 cli-hasura-linux-arm64 22.03MB
5、 cli-hasura-windows-amd64.exe 69.01MB