Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
26
26
prompt
stringlengths
21.9k
22.7k
max_tokens
int64
128
128
temperature
float64
0
0
metadata
dict
eviction_pressure_4k_00000
Instruction: Analyze the following source material and return JSON for the requested slice only. Response contract: { "summary": "string", "requested_items": [ { "label": "string", "evidence": "string" } ], "uncertainties": [ "string" ] } Shared source group 1 (legal contracts): Sect...
128
0
{ "scenario": "eviction_pressure_4k", "prefix_group": "evict_group_0001", "expected_shared_prefix_tokens": 3952, "unique_suffix_tokens": 127, "request_order": 0, "description": "Many distinct 4k-token prefixes are introduced before later variants repeat each prefix group, creating cache eviction pressure." ...
eviction_pressure_4k_00001
Instruction: Analyze the following source material and return JSON for the requested slice only. Response contract: { "summary": "string", "requested_items": [ { "label": "string", "evidence": "string" } ], "uncertainties": [ "string" ] } Shared source group 2 (medical policy): The p...
128
0
{ "scenario": "eviction_pressure_4k", "prefix_group": "evict_group_0002", "expected_shared_prefix_tokens": 3952, "unique_suffix_tokens": 127, "request_order": 1, "description": "Many distinct 4k-token prefixes are introduced before later variants repeat each prefix group, creating cache eviction pressure." ...
eviction_pressure_4k_00002
Instruction: Analyze the following source material and return JSON for the requested slice only. Response contract: { "summary": "string", "requested_items": [ { "label": "string", "evidence": "string" } ], "uncertainties": [ "string" ] } Shared source group 3 (financial reports): Th...
128
0
{ "scenario": "eviction_pressure_4k", "prefix_group": "evict_group_0003", "expected_shared_prefix_tokens": 3952, "unique_suffix_tokens": 127, "request_order": 2, "description": "Many distinct 4k-token prefixes are introduced before later variants repeat each prefix group, creating cache eviction pressure." ...
eviction_pressure_4k_00003
Instruction: Analyze the following source material and return JSON for the requested slice only. Response contract: { "summary": "string", "requested_items": [ { "label": "string", "evidence": "string" } ], "uncertainties": [ "string" ] } Shared source group 4 (software docs): The pr...
128
0
{ "scenario": "eviction_pressure_4k", "prefix_group": "evict_group_0004", "expected_shared_prefix_tokens": 3952, "unique_suffix_tokens": 127, "request_order": 3, "description": "Many distinct 4k-token prefixes are introduced before later variants repeat each prefix group, creating cache eviction pressure." ...
eviction_pressure_4k_00004
Instruction: Analyze the following source material and return JSON for the requested slice only. Response contract: { "summary": "string", "requested_items": [ { "label": "string", "evidence": "string" } ], "uncertainties": [ "string" ] } Shared source group 5 (compliance documents):...
128
0
{ "scenario": "eviction_pressure_4k", "prefix_group": "evict_group_0005", "expected_shared_prefix_tokens": 3952, "unique_suffix_tokens": 127, "request_order": 4, "description": "Many distinct 4k-token prefixes are introduced before later variants repeat each prefix group, creating cache eviction pressure." ...
eviction_pressure_4k_00005
Instruction: Analyze the following source material and return JSON for the requested slice only. Response contract: { "summary": "string", "requested_items": [ { "label": "string", "evidence": "string" } ], "uncertainties": [ "string" ] } Shared source group 6 (research papers): The ...
128
0
{ "scenario": "eviction_pressure_4k", "prefix_group": "evict_group_0006", "expected_shared_prefix_tokens": 3952, "unique_suffix_tokens": 127, "request_order": 5, "description": "Many distinct 4k-token prefixes are introduced before later variants repeat each prefix group, creating cache eviction pressure." ...
eviction_pressure_4k_00006
Instruction: Analyze the following source material and return JSON for the requested slice only. Response contract: { "summary": "string", "requested_items": [ { "label": "string", "evidence": "string" } ], "uncertainties": [ "string" ] } Shared source group 7 (legal contracts): If a...
128
0
{ "scenario": "eviction_pressure_4k", "prefix_group": "evict_group_0007", "expected_shared_prefix_tokens": 3952, "unique_suffix_tokens": 127, "request_order": 6, "description": "Many distinct 4k-token prefixes are introduced before later variants repeat each prefix group, creating cache eviction pressure." ...
eviction_pressure_4k_00007
Instruction: Analyze the following source material and return JSON for the requested slice only. Response contract: { "summary": "string", "requested_items": [ { "label": "string", "evidence": "string" } ], "uncertainties": [ "string" ] } Shared source group 8 (medical policy): A rev...
128
0
{ "scenario": "eviction_pressure_4k", "prefix_group": "evict_group_0008", "expected_shared_prefix_tokens": 3952, "unique_suffix_tokens": 127, "request_order": 7, "description": "Many distinct 4k-token prefixes are introduced before later variants repeat each prefix group, creating cache eviction pressure." ...
eviction_pressure_4k_00008
"Instruction:\nAnalyze the following source material and return JSON for the requested slice only.\n(...TRUNCATED)
128
0
{"scenario":"eviction_pressure_4k","prefix_group":"evict_group_0009","expected_shared_prefix_tokens"(...TRUNCATED)
eviction_pressure_4k_00009
"Instruction:\nAnalyze the following source material and return JSON for the requested slice only.\n(...TRUNCATED)
128
0
{"scenario":"eviction_pressure_4k","prefix_group":"evict_group_0010","expected_shared_prefix_tokens"(...TRUNCATED)
End of preview. Expand in Data Studio

PrefixBench JSONL Datasets

These datasets generate deterministic prompts for testing KV prefix caching behavior in LLM inference servers such as vLLM and SGLang. The prompts use controlled shared prefixes plus small unique suffixes so benchmark clients can compare cache reuse, latency, and throughput across server configurations.

Files

  • shared_schema_1k.jsonl: Simple shared-prefix benchmark. Every request reuses the same extraction instruction, JSON schema, and few-shot examples of about 1k approximate tokens, followed by a short unique document and query.
  • same_document_multi_query_8k.jsonl: High-reuse long-document benchmark. Each document group reuses the same instruction, schema, and long source document of about 8k approximate tokens while changing only the final extraction question.
  • multiturn_agent_branching.jsonl: Agent conversation benchmark. Prompts share a common system/tool root and then branch into simulated tool-use conversations, producing radix-tree-style prefix reuse across branch depths.
  • eviction_pressure_4k.jsonl: Cache pressure benchmark. Many distinct prefix groups of about 4k approximate tokens are introduced first, then revisited later with new suffixes to test eviction and recovery behavior.

JSONL Schema

Each line is a standalone JSON object:

{
  "id": "unique_id",
  "prompt": "plain text prompt",
  "max_tokens": 128,
  "temperature": 0.0,
  "metadata": {
    "scenario": "scenario_name",
    "prefix_group": "shared_prefix_identifier",
    "expected_shared_prefix_tokens": 1000,
    "unique_suffix_tokens": 128,
    "request_order": 0,
    "description": "expected cache reuse behavior"
  }
}

Suggested Metrics

Track TTFT, TPOT, ITL, end-to-end latency, prefix cache hit rate, and throughput. Compare cold runs, warm runs, prefix caching disabled, and prefix caching enabled.

Downloads last month
29