[full-line] CompletionModelBenchmark prefixLen=0, increase contextTextLen (IJ-MR-99925)

GitOrigin-RevId: e1308792f4710d2bcd01873d782ac7da27833516
This commit is contained in:
petr.surkov
2022-12-12 13:21:38 +01:00
committed by intellij-monorepo-bot
parent d440348b09
commit 0eafefba69

View File

@@ -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"})