Přeskočit na obsah

Tato stránka byla automaticky přeložena z angličtiny, jediného jazyka, ve kterém se tento web píše. Číst originál.

perf.counters

Počitadla tohoto procesu: skeny repozitáře, sestavení indexu a registru, generování schémat, sestavení projekcí, provedení, vyvolání handlerů, zásahy, minutí a vyřazení cache a časování fází, tak jak právě stojí.

Počitadla tohoto procesu: skeny repozitáře, sestavení indexu a registru, generování schémat, sestavení projekcí, provedení, vyvolání handlerů, zásahy, minutí a vyřazení cache a časování fází, tak jak právě stojí.

  • query
  • behaviorally_verified
  • výkon modulu
  • #performance
  • #introspection

Zpřístupnění

Kde je tato jedna definice dosažitelná. Absence je explicitní: povrch, který není uveden, ji nenese.

povrchjako
MCPnástroj majordomus_perf
HTTPGET /api/v1/perf operationId perf.counters
příkazová řádka—

Schémata

Kanonický vstup a výstup z typů Rustu; schéma nástroje MCP a parametry a odpovědi OpenAPI se odvozují z nich.

vstup · Prázdné

Žádný vstup.

Žádné vlastnosti: schopnost nebere žádný vstup.

JSON Schema
{
  "additionalProperties": false,
  "description": "No input.",
  "title": "Empty",
  "type": "object"
}

výstup · CounterSnapshot

Čítače a součty fází tohoto procesu v jednom okamžiku. Každá hodnota je počet nebo doba, které tento proces změřil; žádná není nikde zapsána ručně.
vlastnosttyppovinnépopis
cache_evictions integer ano Zahozené záznamy cache.
cache_hits integer ano Execution zodpovězené z cache.
cache_misses integer ano Provedení cachované schopnosti, která spustila handler.
executions integer ano Volání přes executor, každý transport.
graph_builds integer ano Grafy odvozené z registru a indexu.
handler_invocations integer ano Skutečně spuštěné handlery.
http_projection_builds integer ano Sestavené HTTP routery.
index_builds integer ano Sestavení indexu.
mcp_projection_builds integer ano Seznamy nástrojů a zdrojů MCP spočítány.
openapi_builds integer ano Dokumenty OpenAPI sestaveny.
fáze object ano Součty fází podle názvu fáze.
registry_builds integer ano Buildy registru.
repository_scans integer ano Výčty deklarovaných zdrojů repozitáře.
schema_generations integer ano JSON Schemas odvozená z typů v Rustu.
JSON Schema
{
  "$defs": {
    "PhaseTotals": {
      "description": "A phase's totals.",
      "properties": {
        "count": {
          "description": "How many times the phase ran.",
          "format": "uint64",
          "minimum": 0,
          "type": "integer"
        },
        "total_nanos": {
          "description": "Nanoseconds spent in it, summed.",
          "format": "uint64",
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "count",
        "total_nanos"
      ],
      "type": "object"
    }
  },
  "description": "The counters and phase totals of this process at one moment. Every value is a count\nor a duration this process measured; none is written anywhere by hand.",
  "properties": {
    "cache_evictions": {
      "description": "Cache entries dropped.",
      "format": "uint64",
      "minimum": 0,
      "type": "integer"
    },
    "cache_hits": {
      "description": "Executions answered from the cache.",
      "format": "uint64",
      "minimum": 0,
      "type": "integer"
    },
    "cache_misses": {
      "description": "Executions of a cached capability that ran the handler.",
      "format": "uint64",
      "minimum": 0,
      "type": "integer"
    },
    "executions": {
      "description": "Calls through the executor, every transport.",
      "format": "uint64",
      "minimum": 0,
      "type": "integer"
    },
    "graph_builds": {
      "description": "Graphs derived from the registry and the index.",
      "format": "uint64",
      "minimum": 0,
      "type": "integer"
    },
    "handler_invocations": {
      "description": "Handlers actually run.",
      "format": "uint64",
      "minimum": 0,
      "type": "integer"
    },
    "http_projection_builds": {
      "description": "HTTP routers built.",
      "format": "uint64",
      "minimum": 0,
      "type": "integer"
    },
    "index_builds": {
      "description": "Index builds.",
      "format": "uint64",
      "minimum": 0,
      "type": "integer"
    },
    "mcp_projection_builds": {
      "description": "MCP tool and resource listings computed.",
      "format": "uint64",
      "minimum": 0,
      "type": "integer"
    },
    "openapi_builds": {
      "description": "OpenAPI documents built.",
      "format": "uint64",
      "minimum": 0,
      "type": "integer"
    },
    "phases": {
      "additionalProperties": {
        "$ref": "#/$defs/PhaseTotals"
      },
      "description": "Phase totals by phase name.",
      "type": "object"
    },
    "registry_builds": {
      "description": "Registry builds.",
      "format": "uint64",
      "minimum": 0,
      "type": "integer"
    },
    "repository_scans": {
      "description": "Enumerations of the repository's declared sources.",
      "format": "uint64",
      "minimum": 0,
      "type": "integer"
    },
    "schema_generations": {
      "description": "JSON Schemas derived from Rust types.",
      "format": "uint64",
      "minimum": 0,
      "type": "integer"
    }
  },
  "required": [
    "repository_scans",
    "index_builds",
    "registry_builds",
    "schema_generations",
    "mcp_projection_builds",
    "openapi_builds",
    "http_projection_builds",
    "graph_builds",
    "executions",
    "handler_invocations",
    "cache_hits",
    "cache_misses",
    "cache_evictions",
    "phases"
  ],
  "title": "CounterSnapshot",
  "type": "object"
}

Politiky

benchmark
povinné — cíl na každém transportu, který expozice deklaruje; případy jsou ty ze vstupního typu
cache
vypnuto — každé volání spustí handler

Cíle benchmarku

Odvozeno z registru pro tento repozitář: jeden požadavek na transport a případy, které poskytuje typ vstupu. Celá matice je na stránce měření výkonu.

transportstatepřípadytargets
directpokryto1výchozí
mcppokryto1výchozí
httppokryto1výchozí

Okamžiky, na které to odpovídá

Prohledává názvy a popisy všech stránek, které tento web publikuje.