andywer / andywer/srv

Micro optimization

未关闭
#6 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
9
派生
1
PR 合并指标
30 天内没有已合并 PR

描述

- [x] Prefer async functions over manual promise code
- [x] Run `DebugLogger.enabled()` eagerly, skip `debug()` call during handler invocation (= skip message string creation)
- [x] Try for..in instead of for..of over `Object.keys()`
- [ ] Try to get rid of dynamic creation of `next` callback function
- [ ] Give `const foo = function foo() {` a try
- [ ] Check if all `Response` props should better be non-optional
- [ ] Run with `ndb`, check where time/heap is spent on

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。