We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7f0a36 commit 806aa3aCopy full SHA for 806aa3a
.github/workflows/performance.yml
@@ -41,8 +41,8 @@ jobs:
41
42
# Create benchmark script
43
cat > benchmark.js << 'EOF'
44
- const { execSync } = require('child_process');
45
- const fs = require('fs');
+ import { execSync } from 'child_process';
+ import fs from 'fs';
46
47
const iterations = 10;
48
const results = [];
@@ -105,8 +105,8 @@ jobs:
105
106
# Create memory profiling script
107
cat > memory-profile.js << 'EOF'
108
- const { spawn } = require('child_process');
109
+ import { spawn } from 'child_process';
110
111
function measureMemory(command, args = []) {
112
return new Promise((resolve, reject) => {
0 commit comments