Skip to content

Commit

Permalink
Merge pull request #479 from shachlanAmazon/auto-format
Browse files Browse the repository at this point in the history
auto-sort imports.
  • Loading branch information
shachlanAmazon authored Oct 1, 2023
2 parents 6fb6dc2 + bf5f3a4 commit f72f5aa
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions benchmarks/node/node_benchmark.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import percentile from "percentile";
import { RedisClientType, createClient, createCluster } from "redis";
import { stdev } from "stats-lite";
import {
receivedOptions,
generate_value,
generate_key_get,
generate_key_set,
generate_value,
getAddress,
receivedOptions,
} from "../utilities/utils";

export const PROB_GET = 0.8;
Expand Down
4 changes: 2 additions & 2 deletions benchmarks/utilities/fill_db.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
SIZE_SET_KEYSPACE,
createRedisClient,
receivedOptions,
generate_value,
SIZE_SET_KEYSPACE,
receivedOptions,
} from "./utils";

async function fill_database(
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/utilities/flush_db.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { RedisClientType, RedisClusterType } from "redis";
import { createRedisClient, receivedOptions } from "./utils";
import { RedisClusterType, RedisClientType } from "redis";

async function flush_database(
host: string,
Expand Down
4 changes: 2 additions & 2 deletions benchmarks/utilities/utils.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import commandLineArgs from "command-line-args";
import {
RedisClientType,
RedisClusterType,
createClient,
createCluster,
RedisClusterType,
RedisClientType,
} from "redis";

export const PORT = 6379;
Expand Down

0 comments on commit f72f5aa

Please sign in to comment.