Skip to content

Commit

Permalink
use green coding metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
sumn2u committed Dec 6, 2023
1 parent 8e83255 commit ce2e7a4
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 32 deletions.
32 changes: 0 additions & 32 deletions compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,35 +12,3 @@ services:

volumes:
node_modules:

# services:
# Small_load_Container:
# image: node:20-alpine
# # working_dir: /usr/src/app
# ports:
# - 9000:8080
# setup-commands:
# - whoami

# High_load_Container:
# image: node:20-alpine
# # working_dir: /usr/src/app
# ports:
# - 9001:8080
# setup-commands:
# - whoami

# flow:
# - name: Load 1
# container: Small_load_Container
# commands:
# - type: console
# command: node experiments/example.js -n 1
# detach: true
# note: Running Example Code with 1 detached
# - name: Load 100
# container: High_load_Container
# commands:
# - type: console
# command: node experiments/example.js -n 100
# note: Running Example Code with 100 detached
26 changes: 26 additions & 0 deletions usage_scenario.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: Green Coding Metrics
author: Suman Kunwar
description: Scenario to test file right usage.

compose-file: !include compose.yml

services:
app:
log-stdout: True
read-sci-stdout: True

flow:
- name: Load 1
container: app
commands:
- type: console
command: node experiments/example.js -n 1
detach: true
note: Running Example Code with 1 detached
- name: Load 100
container: app
commands:
- type: console
command: node experiments/example.js -n 100
note: Running Example Code with 100 detached

0 comments on commit ce2e7a4

Please sign in to comment.