<script type="text/javascript">
/*
* This is a stress test which rapidly adds and deletes blobs in a row in
* separate transactions. Internally, blobs are only removed when all memory
* and database references drop to zero. At that point an asynchronous
* delete operation is scheduled which removes the backing file from disk.
* So the overall behavior and timing depends on cycle collection and
* garbage collection. The main goal of this test is to make it more likely
* that internal structures are accessed by multiple threads at the same
* time, potentially discovering races or other issues.
*
* Note that the test needs to always create a new blob and a new
* transaction, otherwise new backing files wouldn't be created due to
* internal optimizations for de-duplication.
*/
function* testSteps()
{
const READ_WRITE = "readwrite";
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.