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
Copy file name to clipboardExpand all lines: site/content/docs/add-framework/test-profiles/h1/upload.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,14 @@ The Upload profile measures how efficiently a framework handles large request bo
19
19
-**I/O handling efficiency** — how the framework manages sustained large transfers
20
20
-**Connection overhead** — at 20 MB per request, connection setup/teardown is significant
21
21
22
+
## Implementation rules
23
+
24
+
The upload endpoint must actually read and process the request body. The returned byte count must be computed by reading the uploaded data, not inferred from request metadata.
25
+
26
+
-**Do not** return the value of the `Content-Length` header — this defeats the purpose of the test, which is to measure how efficiently the framework processes uploaded content.
27
+
- Frameworks **may** use small read buffers to process the upload incrementally. Holding the entire payload in memory is allowed but not required.
28
+
- The goal is to prove that the framework can efficiently compute a result over a large blob being sent to it.
0 commit comments