Skip to content

Commit

Permalink
Create consumeResources.R
Browse files Browse the repository at this point in the history
  • Loading branch information
Cecilsingh authored Oct 3, 2024
1 parent 02d045b commit 0999e65
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions hardwareTesting/consumeResources.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#Create dataframe
df <- data.frame(
x = c(1:1000000),
y = c(1:1000000)
)

for (i in c(1:500)) {
print(i)
fit <- lm(x ~ y, df)
}

0 comments on commit 0999e65

Please sign in to comment.