Skip to content

Commit c9977b5

Browse files
authored
Merge pull request #3166 from mxpv/refactor
Move snapshotters benchmark to a separate package
2 parents 2f60e38 + 90085a7 commit c9977b5

3 files changed

Lines changed: 21 additions & 2 deletions

File tree

contrib/aws/snapshotter_bench_readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ make
4747

4848
```bash
4949
sudo su -
50-
cd snapshots/testsuite/
50+
cd snapshots/benchsuite/
5151
go test -bench . \
5252
-dm.thinPoolDev=bench-docker--pool \
5353
-dm.rootPath=/mnt/disk1/data \

snapshots/benchsuite/benchmark.go

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// +build linux
2+
3+
/*
4+
Copyright The containerd Authors.
5+
6+
Licensed under the Apache License, Version 2.0 (the "License");
7+
you may not use this file except in compliance with the License.
8+
You may obtain a copy of the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing, software
13+
distributed under the License is distributed on an "AS IS" BASIS,
14+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
See the License for the specific language governing permissions and
16+
limitations under the License.
17+
*/
18+
19+
package benchsuite
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
limitations under the License.
1717
*/
1818

19-
package testsuite
19+
package benchsuite
2020

2121
import (
2222
"context"

0 commit comments

Comments
 (0)