File tree 24 files changed +31
-31
lines changed
benchmarks/tpc-ds/streams
24 files changed +31
-31
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import (
10
10
"testing"
11
11
12
12
"github.com/stretchr/testify/assert"
13
- "presto-benchmark /stage"
13
+ "pbench /stage"
14
14
)
15
15
16
16
func TestGenerateStreams (t * testing.T ) {
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ package cmd
2
2
3
3
import (
4
4
"github.com/spf13/cobra"
5
- "presto-benchmark /cmp"
5
+ "pbench /cmp"
6
6
)
7
7
8
8
var cmpCmd = & cobra.Command {
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ package cmd
2
2
3
3
import (
4
4
"github.com/spf13/cobra"
5
- genconfig "presto-benchmark /gen-config"
5
+ genconfig "pbench /gen-config"
6
6
)
7
7
8
8
var genConfigCmd = & cobra.Command {
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ package cmd
2
2
3
3
import (
4
4
"github.com/spf13/cobra"
5
- "presto-benchmark /round"
5
+ "pbench /round"
6
6
)
7
7
8
8
// roundCmd represents the round command
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package cmd
3
3
import (
4
4
"github.com/spf13/cobra"
5
5
"os"
6
- "presto-benchmark /run"
6
+ "pbench /run"
7
7
)
8
8
9
9
// runCmd represents the run command
Original file line number Diff line number Diff line change 4
4
"io/fs"
5
5
"os"
6
6
"path/filepath"
7
- "presto-benchmark /log"
7
+ "pbench /log"
8
8
"strings"
9
9
"text/template"
10
10
)
Original file line number Diff line number Diff line change 7
7
"io/fs"
8
8
"os"
9
9
"path/filepath"
10
- "presto-benchmark /log"
10
+ "pbench /log"
11
11
12
12
"github.com/spf13/cobra"
13
13
)
Original file line number Diff line number Diff line change 1
- module presto-benchmark
1
+ module pbench
2
2
3
3
go 1.20
4
4
Original file line number Diff line number Diff line change 7
7
"github.com/rs/zerolog"
8
8
"net"
9
9
"os"
10
- "presto-benchmark /log"
10
+ "pbench /log"
11
11
"strings"
12
12
"testing"
13
13
Original file line number Diff line number Diff line change 1
1
package main
2
2
3
3
import (
4
- "presto-benchmark /cmd"
4
+ "pbench /cmd"
5
5
)
6
6
7
7
func main () {
Original file line number Diff line number Diff line change 2
2
SCRIPT_DIR=$( cd -- " $( dirname -- " ${BASH_SOURCE[0]} " ) " & > /dev/null && pwd )
3
3
GO=/usr/local/go/bin/go
4
4
5
- if [ ! -f $SCRIPT_DIR /presto-benchmark_ $( arch) ]; then
5
+ if [ ! -f $SCRIPT_DIR /pbench_ $( arch) ]; then
6
6
if [ ! -f $GO ]; then
7
7
if [[ " $OSTYPE " == " linux-gnu" * ]]; then
8
8
pkg=go1.21.5.linux-amd64.tar.gz
@@ -15,9 +15,9 @@ if [ ! -f $SCRIPT_DIR/presto-benchmark_$(arch) ]; then
15
15
fi
16
16
fi
17
17
pushd $SCRIPT_DIR > /dev/null
18
- env GOOS=linux GOARCH=amd64 $GO build -o $SCRIPT_DIR /presto-benchmark_x86_64 $SCRIPT_DIR
19
- env GOOS=darwin GOARCH=arm64 $GO build -o $SCRIPT_DIR /presto-benchmark_arm64 $SCRIPT_DIR
18
+ env GOOS=linux GOARCH=amd64 $GO build -o $SCRIPT_DIR /pbench_x86_64 $SCRIPT_DIR
19
+ env GOOS=darwin GOARCH=arm64 $GO build -o $SCRIPT_DIR /pbench_arm64 $SCRIPT_DIR
20
20
popd > /dev/null
21
21
fi
22
22
23
- $SCRIPT_DIR /presto-benchmark_ $( arch) " $@ "
23
+ $SCRIPT_DIR /pbench_ $( arch) " $@ "
Original file line number Diff line number Diff line change 8
8
"io"
9
9
"net/http"
10
10
"net/url"
11
- "presto-benchmark /log"
11
+ "pbench /log"
12
12
"strings"
13
13
"time"
14
14
)
Original file line number Diff line number Diff line change 4
4
"context"
5
5
"errors"
6
6
"github.com/stretchr/testify/assert"
7
- "presto-benchmark /presto"
7
+ "pbench /presto"
8
8
"strings"
9
9
"syscall"
10
10
"testing"
Original file line number Diff line number Diff line change 4
4
"context"
5
5
"encoding/json"
6
6
"errors"
7
- "presto-benchmark /log"
7
+ "pbench /log"
8
8
)
9
9
10
10
type QueryRow []any
Original file line number Diff line number Diff line change 7
7
"github.com/spf13/cobra"
8
8
"os"
9
9
"path/filepath"
10
- "presto-benchmark /log"
10
+ "pbench /log"
11
11
"regexp"
12
12
"strings"
13
13
)
Original file line number Diff line number Diff line change 7
7
"net/url"
8
8
"os"
9
9
"path/filepath"
10
- "presto-benchmark /log"
11
- "presto-benchmark /presto"
12
- "presto-benchmark /stage"
10
+ "pbench /log"
11
+ "pbench /presto"
12
+ "pbench /stage"
13
13
"strings"
14
14
"time"
15
15
)
Original file line number Diff line number Diff line change 7
7
influxapi "github.com/influxdata/influxdb-client-go/v2/api"
8
8
"github.com/influxdata/influxdb-client-go/v2/api/write"
9
9
"os"
10
- "presto-benchmark /log"
10
+ "pbench /log"
11
11
)
12
12
13
13
type InfluxRunRecorder struct {
Original file line number Diff line number Diff line change 5
5
"fmt"
6
6
"os"
7
7
"path/filepath"
8
- "presto-benchmark /log"
8
+ "pbench /log"
9
9
)
10
10
11
11
type Map map [string ]* Stage
Original file line number Diff line number Diff line change 8
8
"fmt"
9
9
_ "github.com/go-sql-driver/mysql"
10
10
"os"
11
- "presto-benchmark /log"
11
+ "pbench /log"
12
12
)
13
13
14
14
var (
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import (
10
10
"net/http"
11
11
"net/url"
12
12
"os"
13
- "presto-benchmark /log"
13
+ "pbench /log"
14
14
"regexp"
15
15
"sync/atomic"
16
16
"time"
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ package stage
2
2
3
3
import (
4
4
"github.com/rs/zerolog"
5
- "presto-benchmark /log"
5
+ "pbench /log"
6
6
"time"
7
7
)
8
8
Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ import (
12
12
"os"
13
13
"os/signal"
14
14
"path/filepath"
15
- "presto-benchmark /log"
16
- "presto-benchmark /presto"
15
+ "pbench /log"
16
+ "pbench /presto"
17
17
"sync"
18
18
"sync/atomic"
19
19
"time"
Original file line number Diff line number Diff line change 4
4
"context"
5
5
"errors"
6
6
"os"
7
- "presto-benchmark /presto"
7
+ "pbench /presto"
8
8
"syscall"
9
9
"testing"
10
10
Original file line number Diff line number Diff line change 8
8
"github.com/rs/zerolog"
9
9
"os"
10
10
"path/filepath"
11
- "presto-benchmark /log"
12
- "presto-benchmark /presto"
11
+ "pbench /log"
12
+ "pbench /presto"
13
13
"strconv"
14
14
"time"
15
15
)
You can’t perform that action at this time.
0 commit comments