You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The software should not waste resources wantonly. The following dimensions should be considered, very roughly in order of importance:
Installation time
Latency (time to first byte)
Startup time (probably correlated with binary size)
Binary size
Memory usage
Throughput (requests per second)
The software is currently intended to be used by a single user at a time, so throughput and scaling is not a huge concern.
Some concrete performance things to investigate:
Render markdown into the template engine's buffer directly. That is, instead of rendering markdown into a string, and then feeding that into the templating engine, have the markdown render expose a Write that is called from the template system's Write implementation.
Instead of rending templates into strings and then sending the contents over the wire, use the Write interface on templates to send directly to the socket. Some investigation will be required to see how much this change effects allocations and copying, as this may just shift the allocation from the template engine to the network abstraction.
The text was updated successfully, but these errors were encountered:
The software should not waste resources wantonly. The following dimensions should be considered, very roughly in order of importance:
The software is currently intended to be used by a single user at a time, so throughput and scaling is not a huge concern.
Some concrete performance things to investigate:
Write
that is called from the template system'sWrite
implementation.Write
interface on templates to send directly to the socket. Some investigation will be required to see how much this change effects allocations and copying, as this may just shift the allocation from the template engine to the network abstraction.The text was updated successfully, but these errors were encountered: