Skip to content

Commit cbcdbf6

Browse files
committed
f
1 parent e549e2d commit cbcdbf6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_api.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3366,14 +3366,14 @@ fn heap_limits() {
33663366
let scope = &mut v8::ContextScope::new(scope, context);
33673367

33683368
// Allocate JavaScript arrays until V8 calls the near-heap-limit callback.
3369-
// It takes about 100-200k iterations of this loop to get to that point.
3369+
// It takes about 50-200k iterations of this loop to get to that point.
33703370
for _ in 0..1_000_000 {
33713371
eval(
33723372
scope,
33733373
r#"
33743374
"hello 🦕 world"
3375-
.repeat(5)
3376-
.split("🦕", 2)
3375+
.repeat(10)
3376+
.split("🦕")
33773377
.map((s) => s.split(""))
33783378
.shift()
33793379
"#,

0 commit comments

Comments
 (0)