这个基准测试框架首先将所有文档读入内存缓冲区,然后对针对文档的输入和输出操作的多次传递进行计时。
This benchmark framework first reads all documents into internal memory buffers, then times multiple passes of input and output operations on the documents.
也就是说,框架将合适的字段数据成员用作缓冲区,在该缓冲区中存储记录列的内容。
That is, the framework USES the appropriate field data member as a buffer in which to store the contents of a record column.
当辅助线程完成一个框架后,UI 线程添加更改的矩形并取消锁定缓冲区。
When the worker thread has finished a frame, the UI thread adds changed rectangles and unlocks the buffer.
应用推荐