コード例 #1
0
 public void ReadUtf8StringLength4096()
 {
     Utf8vsUtf16StringBenchmark.RunReadBenchmark(
         payload: Utf8vsUtf16StringBenchmark.StringLength4096Payload,
         useUtf8: true);
 }
コード例 #2
0
 public void WriteUtf16StringLength4096()
 {
     Utf8vsUtf16StringBenchmark.RunWriteBenchmark(
         payload: Utf8vsUtf16StringBenchmark.StringLength4096Payload,
         useUtf8: false);
 }
コード例 #3
0
 public void ReadUtf16StringLength1024()
 {
     Utf8vsUtf16StringBenchmark.RunReadBenchmark(
         payload: Utf8vsUtf16StringBenchmark.StringLength1024Payload,
         useUtf8: false);
 }
コード例 #4
0
 public void WriteUtf8StringLength1024()
 {
     Utf8vsUtf16StringBenchmark.RunWriteBenchmark(
         payload: Utf8vsUtf16StringBenchmark.StringLength1024Payload,
         useUtf8: true);
 }