perf(go): add runtime metrics and benchmarks

This commit is contained in:
zarzet
2026-07-16 10:53:26 +07:00
parent b5d02da759
commit 648f36244b
7 changed files with 194 additions and 1 deletions
@@ -3153,6 +3153,12 @@ class MainActivity: FlutterFragmentActivity() {
}
result.success(null)
}
"getGoRuntimeMetrics" -> {
val response = withContext(Dispatchers.IO) {
Gobackend.getRuntimeMetricsJSON()
}
result.success(response)
}
"setMetadataLanguage" -> {
val tag = call.argument<String>("tag") ?: ""
withContext(Dispatchers.IO) {