Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/testthat/test-perf-conndisconn.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#-------------------------------------------------------------------------------
# Copyright (c) 2024-2025 Arjuna Technologies, Newcastle upon Tyne. All rights reserved.
# Copyright (c) 2024-2026 Arjuna Technologies, Newcastle upon Tyne. All rights reserved.
#
# This program and the accompanying materials
# are made available under the terms of the GNU Public License v3.0.
Expand All @@ -22,7 +22,7 @@ disconnect.studies.dataset.cnsim()

# context("conndisconn::perf::simple0")
test_that("simple connect - disconnect performance", {
.durationSec <- 120 # seconds
.durationSec <- base::as.integer(base::Sys.getenv("PERF_DURATION_SEC", unset = "120")) # defaults to 120 seconds
.count <- 0
.start.time <- Sys.time()
.current.time <- .start.time
Expand Down
4 changes: 2 additions & 2 deletions tests/testthat/test-perf-ds.abs.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#-------------------------------------------------------------------------------
# Copyright (c) 2024-2025 Arjuna Technologies, Newcastle upon Tyne. All rights reserved.
# Copyright (c) 2024-2026 Arjuna Technologies, Newcastle upon Tyne. All rights reserved.
#
# This program and the accompanying materials
# are made available under the terms of the GNU Public License v3.0.
Expand All @@ -21,7 +21,7 @@ connect.studies.dataset.cnsim(list("LAB_TSC", "LAB_TRIG"))

# context("ds.abs::perf:0")
test_that("combine - performance", {
.durationSec <- 30 # seconds
.durationSec <- base::as.integer(base::Sys.getenv("PERF_DURATION_SEC", unset = "30")) # defaults to 30 seconds
.count <- 0
.start.time <- Sys.time()
.current.time <- .start.time
Expand Down
4 changes: 2 additions & 2 deletions tests/testthat/test-perf-ds.asInteger.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#-------------------------------------------------------------------------------
# Copyright (c) 2024-2025 Arjuna Technologies, Newcastle upon Tyne. All rights reserved.
# Copyright (c) 2024-2026 Arjuna Technologies, Newcastle upon Tyne. All rights reserved.
#
# This program and the accompanying materials
# are made available under the terms of the GNU Public License v3.0.
Expand All @@ -21,7 +21,7 @@ connect.studies.dataset.cnsim(list("GENDER"))

# context("ds.asInteger::perf:0")
test_that("combine - performance", {
.durationSec <- 30 # seconds
.durationSec <- base::as.integer(base::Sys.getenv("PERF_DURATION_SEC", unset = "30")) # defaults to 30 seconds
.count <- 0
.start.time <- Sys.time()
.current.time <- .start.time
Expand Down
4 changes: 2 additions & 2 deletions tests/testthat/test-perf-ds.asList.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#-------------------------------------------------------------------------------
# Copyright (c) 2024-2025 Arjuna Technologies, Newcastle upon Tyne. All rights reserved.
# Copyright (c) 2024-2026 Arjuna Technologies, Newcastle upon Tyne. All rights reserved.
#
# This program and the accompanying materials
# are made available under the terms of the GNU Public License v3.0.
Expand All @@ -21,7 +21,7 @@ connect.studies.dataset.cnsim(list("LAB_TSC", "LAB_TRIG"))

# context("ds.asList::perf:0")
test_that("combine - performance", {
.durationSec <- 30 # seconds
.durationSec <- base::as.integer(base::Sys.getenv("PERF_DURATION_SEC", unset = "30")) # defaults to 30 seconds
.count <- 0
.start.time <- Sys.time()
.current.time <- .start.time
Expand Down
4 changes: 2 additions & 2 deletions tests/testthat/test-perf-ds.asNumeric.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#-------------------------------------------------------------------------------
# Copyright (c) 2024-2025 Arjuna Technologies, Newcastle upon Tyne. All rights reserved.
# Copyright (c) 2024-2026 Arjuna Technologies, Newcastle upon Tyne. All rights reserved.
#
# This program and the accompanying materials
# are made available under the terms of the GNU Public License v3.0.
Expand All @@ -21,7 +21,7 @@ connect.studies.dataset.cnsim(list("GENDER"))

# context("ds.asNumeric::perf:0")
test_that("combine - performance", {
.durationSec <- 30 # seconds
.durationSec <- base::as.integer(base::Sys.getenv("PERF_DURATION_SEC", unset = "30")) # defaults to 30 seconds
.count <- 0
.start.time <- Sys.time()
.current.time <- .start.time
Expand Down
4 changes: 2 additions & 2 deletions tests/testthat/test-perf-ds.assign.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#-------------------------------------------------------------------------------
# Copyright (c) 2024-2025 Arjuna Technologies, Newcastle upon Tyne. All rights reserved.
# Copyright (c) 2024-2026 Arjuna Technologies, Newcastle upon Tyne. All rights reserved.
#
# This program and the accompanying materials
# are made available under the terms of the GNU Public License v3.0.
Expand All @@ -21,7 +21,7 @@ connect.studies.dataset.cnsim(list("LAB_TSC", "LAB_TRIG"))

# context("ds.assign::perf::0")
test_that("performance", {
.durationSec <- 30 # seconds
.durationSec <- base::as.integer(base::Sys.getenv("PERF_DURATION_SEC", unset = "30")) # defaults to 30 seconds
.count <- 0
.start.time <- Sys.time()
.current.time <- .start.time
Expand Down
4 changes: 2 additions & 2 deletions tests/testthat/test-perf-ds.class.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#-------------------------------------------------------------------------------
# Copyright (c) 2024-2025 Arjuna Technologies, Newcastle upon Tyne. All rights reserved.
# Copyright (c) 2024-2026 Arjuna Technologies, Newcastle upon Tyne. All rights reserved.
#
# This program and the accompanying materials
# are made available under the terms of the GNU Public License v3.0.
Expand All @@ -21,7 +21,7 @@ connect.studies.dataset.cnsim(list("LAB_TSC", "LAB_TRIG"))

# context("ds.class::perf::combine:0")
test_that("combine - performance", {
.durationSec <- 30 # seconds
.durationSec <- base::as.integer(base::Sys.getenv("PERF_DURATION_SEC", unset = "30")) # defaults to 30 seconds
.count <- 0
.start.time <- Sys.time()
.current.time <- .start.time
Expand Down
4 changes: 2 additions & 2 deletions tests/testthat/test-perf-ds.colnames.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#-------------------------------------------------------------------------------
# Copyright (c) 2024-2025 Arjuna Technologies, Newcastle upon Tyne. All rights reserved.
# Copyright (c) 2024-2026 Arjuna Technologies, Newcastle upon Tyne. All rights reserved.
#
# This program and the accompanying materials
# are made available under the terms of the GNU Public License v3.0.
Expand All @@ -21,7 +21,7 @@ connect.studies.dataset.cnsim(list("LAB_TSC", "LAB_TRIG"))

# context("ds.colnames::perf:0")
test_that("combine - performance", {
.durationSec <- 30 # seconds
.durationSec <- base::as.integer(base::Sys.getenv("PERF_DURATION_SEC", unset = "30")) # defaults to 30 seconds
.count <- 0
.start.time <- Sys.time()
.current.time <- .start.time
Expand Down
4 changes: 2 additions & 2 deletions tests/testthat/test-perf-ds.exists.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#-------------------------------------------------------------------------------
# Copyright (c) 2024-2025 Arjuna Technologies, Newcastle upon Tyne. All rights reserved.
# Copyright (c) 2024-2026 Arjuna Technologies, Newcastle upon Tyne. All rights reserved.
#
# This program and the accompanying materials
# are made available under the terms of the GNU Public License v3.0.
Expand All @@ -21,7 +21,7 @@ connect.studies.dataset.cnsim(list("LAB_TSC", "LAB_TRIG"))

# context("ds.exists::perf::combine:0")
test_that("combine - performance", {
.durationSec <- 30 # seconds
.durationSec <- base::as.integer(base::Sys.getenv("PERF_DURATION_SEC", unset = "30")) # defaults to 30 seconds
.count <- 0
.start.time <- Sys.time()
.current.time <- .start.time
Expand Down
4 changes: 2 additions & 2 deletions tests/testthat/test-perf-ds.length.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#-------------------------------------------------------------------------------
# Copyright (c) 2024-2025 Arjuna Technologies, Newcastle upon Tyne. All rights reserved.
# Copyright (c) 2024-2026 Arjuna Technologies, Newcastle upon Tyne. All rights reserved.
#
# This program and the accompanying materials
# are made available under the terms of the GNU Public License v3.0.
Expand All @@ -21,7 +21,7 @@ connect.studies.dataset.cnsim(list("LAB_TSC", "LAB_TRIG"))

# context("ds.length::perf::combine:0")
test_that("combine - performance", {
.durationSec <- 30 # seconds
.durationSec <- base::as.integer(base::Sys.getenv("PERF_DURATION_SEC", unset = "30")) # defaults to 30 seconds
.count <- 0
.start.time <- Sys.time()
.current.time <- .start.time
Expand Down
6 changes: 3 additions & 3 deletions tests/testthat/test-perf-ds.mean.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#-------------------------------------------------------------------------------
# Copyright (c) 2024-2025 Arjuna Technologies, Newcastle upon Tyne. All rights reserved.
# Copyright (c) 2024-2026 Arjuna Technologies, Newcastle upon Tyne. All rights reserved.
#
# This program and the accompanying materials
# are made available under the terms of the GNU Public License v3.0.
Expand All @@ -21,7 +21,7 @@ connect.studies.dataset.cnsim(list("LAB_TSC", "LAB_TRIG"))

# context("ds.mean::perf::combine:0")
test_that("combine - performance", {
.durationSec <- 30 # seconds
.durationSec <- base::as.integer(base::Sys.getenv("PERF_DURATION_SEC", unset = "30")) # defaults to 30 seconds
.count <- 0
.start.time <- Sys.time()
.current.time <- .start.time
Expand Down Expand Up @@ -52,7 +52,7 @@ test_that("combine - performance", {

# context("ds.mean::perf::split:0")
test_that("split - performance", {
.durationSec <- 30 # seconds
.durationSec <- base::as.integer(base::Sys.getenv("PERF_DURATION_SEC", unset = "30")) # defaults to 30 seconds
.count <- 0
.start.time <- Sys.time()
.current.time <- .start.time
Expand Down
4 changes: 2 additions & 2 deletions tests/testthat/test-perf-void.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#-------------------------------------------------------------------------------
# Copyright (c) 2024-2025 Arjuna Technologies, Newcastle upon Tyne. All rights reserved.
# Copyright (c) 2024-2026 Arjuna Technologies, Newcastle upon Tyne. All rights reserved.
#
# This program and the accompanying materials
# are made available under the terms of the GNU Public License v3.0.
Expand All @@ -20,7 +20,7 @@

# context("void::perf::void::0")
test_that("simple void performance", {
.durationSec <- 60 # seconds
.durationSec <- base::as.integer(base::Sys.getenv("PERF_DURATION_SEC", unset = "60")) # defaults to 60 seconds
.count <- 0
.start.time <- Sys.time()
.current.time <- .start.time
Expand Down
Loading