mirror of
https://github.com/lynchmarkHQ/lynchmark.com.git
synced 2026-10-19 02:07:52 +00:00
Docs: Update benchmark results
This commit is contained in:
@@ -11,9 +11,7 @@ export async function createStreamVisualizer(asyncIterable, options) {
|
||||
: alpha * value + (1 - alpha) * prevEma;
|
||||
|
||||
data.push({ timestamp, value, ema });
|
||||
|
||||
if (data.length > maxPoints) data.shift();
|
||||
|
||||
prevEma = ema;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user