Support for manual timings and merging/adding timings
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- typescript
调研方向
首先查看现有的 TypeScript timing API,以及 issue 中提到的 active-collector 和 current-results-by-name 概念。明确重复测量和手动提供的 timing 应如何共存,包括描述的处理方式。当 API 支持所请求的两种工作流,且具备有文档说明的行为和用于合并 timing 的覆盖时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
I feel that the interface currently is a bit limited:
-
How would one measure time for database queries from multiple code locations? It should be possible to somehow merge multiple measurements for one timing, e.g. by adding up all
durvalues by name. This would not necessarily change the visible interface. Merging descriptions does not make much sense, so one could either use the first or last description that was passed in for a name or change the API such that it is possible to only pass description once for a given name. -
Sometimes it would be easier to specify timings manually, e.g. when timings come from requests to other APIs that return timing information themselves or if code does its own measurements.
Internally, I would probably opt to differentiate active collectors and the current results grouped by name (Map).
- 主要语言
- TypeScript
- 星标
- 5
- 派生
- 0
- 平均合并
- 1 分钟
- 30 天内合并 PR
- 4
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
相似的 Issue
-
bot:ai-assisted status:untriaged
难度 2/5 1-3 小时 新手友好度 85/100
midnightntwrk/midnight-js#1424 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 68/100
mksglu/context-mode#1268 ·
维护者通常 5 天内回复
-
Edit:未关闭check:failed streams:edit
难度 2/5 1-3 小时 新手友好度 60/100
维护者通常 1 天内回复
-
[Table] reserveSelectedRowOnPaginate=false 时表头全选包含其他页数据可能已有人在做 @dvd233 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
Tencent/tdesign-react#4416 · 2 条评论 ·
维护者通常 1 天内回复
-
area:widget bug
难度 2/5 1-3 小时 新手友好度 66/100
interledger/publisher-tools#894 ·
维护者通常 1 天内回复