From bf5f3a460e8f4fec16bc9140f284c6052847dd12 Mon Sep 17 00:00:00 2001 From: Shachar Langbeheim Date: Thu, 28 Sep 2023 08:43:27 +0000 Subject: [PATCH] auto-sort imports. --- benchmarks/node/node_benchmark.ts | 4 ++-- benchmarks/utilities/fill_db.ts | 4 ++-- benchmarks/utilities/flush_db.ts | 2 +- benchmarks/utilities/utils.ts | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/benchmarks/node/node_benchmark.ts b/benchmarks/node/node_benchmark.ts index 401680967e..c2a493b517 100644 --- a/benchmarks/node/node_benchmark.ts +++ b/benchmarks/node/node_benchmark.ts @@ -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; diff --git a/benchmarks/utilities/fill_db.ts b/benchmarks/utilities/fill_db.ts index ee2560a8a0..2565106d0b 100644 --- a/benchmarks/utilities/fill_db.ts +++ b/benchmarks/utilities/fill_db.ts @@ -1,8 +1,8 @@ import { + SIZE_SET_KEYSPACE, createRedisClient, - receivedOptions, generate_value, - SIZE_SET_KEYSPACE, + receivedOptions, } from "./utils"; async function fill_database( diff --git a/benchmarks/utilities/flush_db.ts b/benchmarks/utilities/flush_db.ts index 4e632004ca..b535d499cf 100644 --- a/benchmarks/utilities/flush_db.ts +++ b/benchmarks/utilities/flush_db.ts @@ -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, diff --git a/benchmarks/utilities/utils.ts b/benchmarks/utilities/utils.ts index 86206e50a0..6a990c6b88 100644 --- a/benchmarks/utilities/utils.ts +++ b/benchmarks/utilities/utils.ts @@ -1,9 +1,9 @@ import commandLineArgs from "command-line-args"; import { + RedisClientType, + RedisClusterType, createClient, createCluster, - RedisClusterType, - RedisClientType, } from "redis"; export const PORT = 6379;