-
Notifications
You must be signed in to change notification settings - Fork 571
Closed
Description
- Framework version: 0.8
- Implementations: Jersey
Scenario
The JerseyServletResponseWriter object is slower than expected. In tests running on SAM local the writer was taking ~50ms. Similarly the conversion from Servlet Request to container request is slow (~75ms)
Expected behavior
We expect this object to execute in low single-digit ms
Full log output
{
"JERSEY_HANDLE_REQUEST":{
"startTime":1516128024708,
"stopTime":1516128025504,
"duration":796
},
"JERSEY_COLD_START_INIT":{
"startTime":1516128024733,
"stopTime":1516128024758,
"duration":25
},
"JERSEY_FILTER_DOFILTER":{
"startTime":1516128024768,
"stopTime":1516128025504,
"duration":736
},
"JERSEY_SERVLET_REQUEST_TO_CONTAINER":{
"startTime":1516128024768,
"stopTime":1516128024843,
"duration":75
},
"JERSEY_WRITE_RESPONSE":{
"startTime":1516128025420,
"stopTime":1516128025477,
"duration":57
},
"SERVLET_RESPONSE_WRITE":{
"startTime":1516128025504,
"stopTime":1516128025510,
"duration":6
}
}