File tree 25 files changed +18
-33
lines changed
25 files changed +18
-33
lines changed Original file line number Diff line number Diff line change 3
3
// license that can be found in the LICENSE file.
4
4
5
5
//go:build appengine
6
- // +build appengine
7
6
8
7
package app
9
8
10
9
import (
10
+ "context"
11
11
"net/http"
12
12
13
- "golang.org/x/net/context"
14
13
"google.golang.org/appengine"
15
14
"google.golang.org/appengine/log"
16
15
)
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ package app
6
6
7
7
import (
8
8
"bytes"
9
+ "context"
9
10
"errors"
10
11
"fmt"
11
12
"html/template"
@@ -17,7 +18,6 @@ import (
17
18
"strings"
18
19
"unicode"
19
20
20
- "golang.org/x/net/context"
21
21
"golang.org/x/perf/benchstat"
22
22
"golang.org/x/perf/storage/benchfmt"
23
23
"golang.org/x/perf/storage/query"
Original file line number Diff line number Diff line change 5
5
package app
6
6
7
7
import (
8
+ "context"
8
9
"fmt"
9
10
"net/http"
10
11
"net/http/httptest"
11
12
"reflect"
12
13
"strings"
13
14
"testing"
14
15
15
- "golang.org/x/net/context"
16
16
"golang.org/x/perf/storage"
17
17
"golang.org/x/perf/storage/benchfmt"
18
18
)
Original file line number Diff line number Diff line change 3
3
// license that can be found in the LICENSE file.
4
4
5
5
//go:build !appengine
6
- // +build !appengine
7
6
8
7
package app
9
8
10
9
import (
10
+ "context"
11
11
"log"
12
12
"net/http"
13
-
14
- "golang.org/x/net/context"
15
13
)
16
14
17
15
// requestContext returns the Context object for a given request.
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ package app
8
8
9
9
import (
10
10
"bytes"
11
+ "context"
11
12
"encoding/json"
12
13
"fmt"
13
14
"html/template"
@@ -22,7 +23,6 @@ import (
22
23
"github.com/aclements/go-gg/generic/slice"
23
24
"github.com/aclements/go-gg/ggstat"
24
25
"github.com/aclements/go-gg/table"
25
- "golang.org/x/net/context"
26
26
"golang.org/x/perf/storage"
27
27
)
28
28
Original file line number Diff line number Diff line change 6
6
package main
7
7
8
8
import (
9
+ "context"
9
10
"log"
10
11
"net/http"
11
12
"os"
12
13
"time"
13
14
14
- "golang.org/x/net/context"
15
15
"golang.org/x/perf/analysis/app"
16
16
"golang.org/x/perf/storage"
17
17
"google.golang.org/appengine"
Original file line number Diff line number Diff line change 3
3
// license that can be found in the LICENSE file.
4
4
5
5
//go:build ignore
6
- // +build ignore
7
6
8
7
// Mktables pre-computes statistical tables.
9
8
package main
Original file line number Diff line number Diff line change 3
3
// license that can be found in the LICENSE file.
4
4
5
5
//go:build appengine
6
- // +build appengine
7
6
8
7
package app
9
8
10
9
import (
10
+ "context"
11
11
"net/http"
12
12
13
- "golang.org/x/net/context"
14
13
"google.golang.org/appengine"
15
14
"google.golang.org/appengine/log"
16
15
)
Original file line number Diff line number Diff line change 3
3
// license that can be found in the LICENSE file.
4
4
5
5
//go:build !appengine
6
- // +build !appengine
7
6
8
7
package app
9
8
10
9
import (
10
+ "context"
11
11
"log"
12
12
"net/http"
13
-
14
- "golang.org/x/net/context"
15
13
)
16
14
17
15
// requestContext returns the Context object for a given request.
Original file line number Diff line number Diff line change 3
3
// license that can be found in the LICENSE file.
4
4
5
5
//go:build cgo
6
- // +build cgo
7
6
8
7
package app
9
8
Original file line number Diff line number Diff line change 5
5
package app
6
6
7
7
import (
8
+ "context"
8
9
"encoding/json"
9
10
"errors"
10
11
"fmt"
@@ -17,7 +18,6 @@ import (
17
18
"strings"
18
19
"time"
19
20
20
- "golang.org/x/net/context"
21
21
"golang.org/x/perf/storage/benchfmt"
22
22
"golang.org/x/perf/storage/db"
23
23
)
Original file line number Diff line number Diff line change 3
3
// license that can be found in the LICENSE file.
4
4
5
5
//go:build cgo
6
- // +build cgo
7
6
8
7
package app
9
8
Original file line number Diff line number Diff line change 6
6
package main
7
7
8
8
import (
9
+ "context"
9
10
"errors"
10
11
"fmt"
11
12
"log"
@@ -15,7 +16,6 @@ import (
15
16
"time"
16
17
17
18
_ "github.com/go-sql-driver/mysql"
18
- "golang.org/x/net/context"
19
19
"golang.org/x/perf/storage/app"
20
20
"golang.org/x/perf/storage/db"
21
21
"golang.org/x/perf/storage/fs/gcs"
Original file line number Diff line number Diff line change 8
8
package storage
9
9
10
10
import (
11
+ "context"
11
12
"encoding/json"
12
13
"fmt"
13
14
"io"
14
15
"mime/multipart"
15
16
"net/http"
16
17
"net/url"
17
18
18
- "golang.org/x/net/context"
19
19
"golang.org/x/net/context/ctxhttp"
20
20
"golang.org/x/perf/storage/benchfmt"
21
21
)
Original file line number Diff line number Diff line change @@ -6,14 +6,14 @@ package storage
6
6
7
7
import (
8
8
"bytes"
9
+ "context"
9
10
"fmt"
10
11
"io"
11
12
"net/http"
12
13
"net/http/httptest"
13
14
"reflect"
14
15
"testing"
15
16
16
- "golang.org/x/net/context"
17
17
"golang.org/x/perf/internal/diff"
18
18
"golang.org/x/perf/storage/benchfmt"
19
19
)
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ package db
8
8
9
9
import (
10
10
"bytes"
11
+ "context"
11
12
"database/sql"
12
13
"fmt"
13
14
"io"
@@ -18,7 +19,6 @@ import (
18
19
"text/template"
19
20
"time"
20
21
21
- "golang.org/x/net/context"
22
22
"golang.org/x/perf/storage"
23
23
"golang.org/x/perf/storage/benchfmt"
24
24
"golang.org/x/perf/storage/query"
Original file line number Diff line number Diff line change 3
3
// license that can be found in the LICENSE file.
4
4
5
5
//go:build cgo
6
- // +build cgo
7
6
8
7
package db_test
9
8
10
9
import (
11
10
"bytes"
11
+ "context"
12
12
"fmt"
13
13
"reflect"
14
14
"sort"
@@ -17,7 +17,6 @@ import (
17
17
"testing"
18
18
"time"
19
19
20
- "golang.org/x/net/context"
21
20
"golang.org/x/perf/internal/diff"
22
21
"golang.org/x/perf/storage/benchfmt"
23
22
. "golang.org/x/perf/storage/db"
Original file line number Diff line number Diff line change 3
3
// license that can be found in the LICENSE file.
4
4
5
5
//go:build cloud && !plan9
6
- // +build cloud,!plan9
7
6
8
7
package dbtest
9
8
Original file line number Diff line number Diff line change 3
3
// license that can be found in the LICENSE file.
4
4
5
5
//go:build cgo
6
- // +build cgo
7
6
8
7
package dbtest
9
8
Original file line number Diff line number Diff line change 3
3
// license that can be found in the LICENSE file.
4
4
5
5
//go:build !cloud && !plan9
6
- // +build !cloud,!plan9
7
6
8
7
package dbtest
9
8
Original file line number Diff line number Diff line change 3
3
// license that can be found in the LICENSE file.
4
4
5
5
//go:build cgo
6
- // +build cgo
7
6
8
7
// Package sqlite3 provides the sqlite3 driver for
9
8
// x/perf/storage/db. It must be imported instead of go-sqlite3 to
Original file line number Diff line number Diff line change 7
7
package fs
8
8
9
9
import (
10
+ "context"
10
11
"errors"
11
12
"io"
12
13
"sort"
13
14
"sync"
14
-
15
- "golang.org/x/net/context"
16
15
)
17
16
18
17
// An FS stores uploaded benchmark data files.
Original file line number Diff line number Diff line change 6
6
package gcs
7
7
8
8
import (
9
+ "context"
10
+
9
11
"cloud.google.com/go/storage"
10
- "golang.org/x/net/context"
11
12
"golang.org/x/perf/storage/fs"
12
13
)
13
14
Original file line number Diff line number Diff line change 8
8
package local
9
9
10
10
import (
11
+ "context"
11
12
"os"
12
13
"path/filepath"
13
14
14
- "golang.org/x/net/context"
15
15
"golang.org/x/perf/storage/fs"
16
16
)
17
17
Original file line number Diff line number Diff line change 3
3
// license that can be found in the LICENSE file.
4
4
5
5
//go:build cgo
6
- // +build cgo
7
6
8
7
// Localperfdata runs an HTTP server for benchmark storage.
9
8
//
You can’t perform that action at this time.
0 commit comments