nadel icon indicating copy to clipboard operation
nadel copied to clipboard

Faster introspection

Open gnawf opened this issue 3 years ago • 0 comments
trafficstars

Experimental change for faster introspection by avoiding some of the GraphQL Java execution overhead.

Old

    // Benchmark                                    Mode  Cnt    Score   Error  Units
    // IntrospectionBenchmarkJava.benchMarkAvgTime  avgt   20  134.819 ± 5.109  ms/op

New

    // Benchmark                                    Mode  Cnt   Score   Error  Units
    // IntrospectionBenchmarkJava.benchMarkAvgTime  avgt   20  30.656 ± 0.949  ms/op

If we like this approach I'll clean up the code and add an execution hint/feature flag.

gnawf avatar Sep 15 '22 22:09 gnawf