From 0eafefba69aecf9ec91f2671a64773a1006adb18 Mon Sep 17 00:00:00 2001 From: "petr.surkov" Date: Mon, 12 Dec 2022 13:21:38 +0100 Subject: [PATCH] [full-line] CompletionModelBenchmark prefixLen=0, increase contextTextLen (IJ-MR-99925) GitOrigin-RevId: e1308792f4710d2bcd01873d782ac7da27833516 --- .../full/line/local/CompletionModelBenchmark.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/full-line/local/benchmark/test/org/jetbrains/completion/full/line/local/CompletionModelBenchmark.java b/plugins/full-line/local/benchmark/test/org/jetbrains/completion/full/line/local/CompletionModelBenchmark.java index 889d3ca95fe5..9ad6bfb6f5a0 100644 --- a/plugins/full-line/local/benchmark/test/org/jetbrains/completion/full/line/local/CompletionModelBenchmark.java +++ b/plugins/full-line/local/benchmark/test/org/jetbrains/completion/full/line/local/CompletionModelBenchmark.java @@ -26,21 +26,21 @@ public class CompletionModelBenchmark { /** * Prefix length */ - @Param({"0", "10"}) + @Param("0") public int prefixLen; /** * The length of the context in characters. * The generated context will have the same or 1 more length. */ - @Param("999") + @Param("9999") public int contextTextLen; /** * How much to shift the context at the next launch. * 0 - do not shift at all, caches should work perfectly, * but if the value is greater than contextTextLen, then caches should not have any effect. */ - @Param({"0", "5", "50", "1000"}) + @Param({"0", "5", "50", "10000"}) public int shiftContext; @Param({"true", "false"})