andywer / andywer/srv

Micro optimization

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
9
Forks
1
PR merge metrics
No merged PRs in 30d

Description

- [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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.