Skip to content

Commit

Permalink
Create optimize_performance.py
Browse files Browse the repository at this point in the history
  • Loading branch information
KOSASIH authored Nov 26, 2024
1 parent ffa526e commit 74907a3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions QuantumNexusProtocol/scripts/optimize_performance.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import subprocess

def optimize_performance():
print("Optimizing network performance...")
try:
subprocess.run(["npm", "run", "optimize"], check=True)
print("Performance optimization completed successfully.")
except subprocess.CalledProcessError as e:
print("Error during performance optimization:", e)

if __name__ == "__main__":
optimize_performance()

0 comments on commit 74907a3

Please sign in to comment.