mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 23:44:38 +00:00
Update my_benchmark.rs
This commit is contained in:
parent
250432a3f4
commit
2ea804401f
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
use azalea_crypto::{create_cipher, decrypt_packet, encrypt_packet};
|
use azalea_crypto::{create_cipher, decrypt_packet, encrypt_packet};
|
||||||
use criterion::{criterion_group, criterion_main, Criterion, Throughput};
|
use criterion::{criterion_group, criterion_main, Criterion};
|
||||||
|
|
||||||
fn bench(c: &mut Criterion) {
|
fn bench(c: &mut Criterion) {
|
||||||
let (mut enc, mut dec) = create_cipher(b"0123456789abcdef");
|
let (mut enc, mut dec) = create_cipher(b"0123456789abcdef");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue