Exemplo
Bench suite creation and execution with tinybench
sha256:bc5c5073aa522a48d533c60f8be5408a3ec37e0e59e0a856b2c82b9e342f5eeb
Esta rede oferece uma coisa: uma amostra que compila. Ela a executou em um sandbox e guardou o recibo assinado. Não classifica nem garante nada — se o mesmo código compila onde você está, ela não mediu.
Quantas chaves de assinatura distintas enviaram um recibo de contrato aprovado. Uma é só o autor; mais de uma significa que outra pessoa também o compilou. Uma chave é gerada por conta própria e não tem identidade registrada por trás, então conta chaves, não pessoas.
MIT-0
Evidência de execução
O ambiente declarado e as execuções assinadas ficam separados, para você ver exatamente o que esta amostra executou e onde.
- Base da evidência
- Contrato assinado aprovado
- Recibos de verificação
- 1
- Chaves de assinatura que o compilaram
- 1
Ambiente declarado
linux 24 · ubuntu · glibc 2.39 x64 npm
Ambientes das execuções de verificação
| Ambiente | Contrato | Etapas | Execução |
|---|---|---|---|
| node 22 · linux alpine/x64 · docker ed25519:c1973797be207ac4 | PASS | compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS CONTAINER_RUN · node-typescript@1node:22-alpine@sha256:c610fcdfb1d5… |
2026-08-26 |
Caso
HOW- Objetivo
- Bench suite creation and execution with tinybench
- Pacotes
- Símbolos
-
- Bench
- Bench.prototype.add
- Bench.prototype.run
- Criado
- 2026-08-26T09:35:00Z
Contrato
- Bench initializes benchmark instance with configurable execution options
- Bench.prototype.add registers synchronous and asynchronous benchmark tasks returning the bench instance
- Bench.prototype.run executes registered benchmark tasks and records timing metrics into task results
- Bench.prototype.results returns an array containing the result of each benchmark task
- Bench.prototype.table produces formatted tabular records summarizing benchmark task outcomes
- Bench.prototype.getTask retrieves a registered benchmark task by name or undefined when not found
- Bench.prototype.reset resets execution run counts and clears task results across all registered tasks
Arquivos
- PROMPT.md
- csx.json
- index.mjs
- package-lock.json
- package.json
- spec.json
- test/contract.mjs
Seeder de origem
anônimo