Green-Software-Foundation / sci-guide

Open Data project will provide all the necessary data sources that can be used as inputs for the SCI standard, for free.
Other
6 stars 11 forks source link

Case Study: CAST uses SCI to measure the improvement in CO2 emissions when decarbonizing software #60

Open pgregrivera opened 4 months ago

pgregrivera commented 4 months ago

Case Study Template

This is a template to use for case studies that are submitted to apply the SCI.

Please delete the text in italics and replace it with the appropriate information.

For more information on any of the items, the final reference is the SCI Specification

If you find errors, or have further questions, please feel free to engage with us in the discussions section.

Attachments

CAST Green Impact Case Study - PDF.pdf

Overview

Architecture for the system under consideration

SaaS Application Architecture Diagram

Technical details of the components in the architecture

Sites for Software Sustainability Actions

Energy Efficiency

  1. The source code of the application.
  2. Green deficiencies (inefficient code patterns) were replaced with alternate code that was more efficient. In this specific study, 10 green deficiencies were fixed.

Hardware Efficiency

  1. N/A
  2. N/A

Carbon Awareness

  1. N/A
  2. N/A

Procedure

(What) Software boundary

(Scale) Functional unit

The choice of functional unit applies to all components in your software boundary.

(How) Quantification method

(Quantify) SCI Value Calculation

(Report)

ArneTR commented 4 months ago

A quite interesting case study!

Although this might be out of scope for an SCI use case, as an engineer I have to ask out of curiosity:

pgregrivera commented 4 months ago

Thanks for your review and feedback. In answer to you questions:

Here are the 3 Green Deficiency patterns we fixed during the study:

Avoid String concatenation in loops Avoid primitive type wrapper instantitation (or Prefer literal initialization) Avoid Programs not using explicitly OPEN and CLOSE for files or streams

We have not completed the statistical tests yet. That is still in the works.

seanmcilroy29 commented 3 months ago

@NAMRATA-WOKE - @ursvill - The WG has now reviewed this submission, and it is ready to be drafted as a case study article.

ursvill commented 3 months ago

Ok, I will work on this next week.

On Mar 14, 2024, at 1:04 PM, Sean Mcilroy @.***> wrote:

@NAMRATA-WOKE https://github.com/NAMRATA-WOKE - @ursvill https://github.com/ursvill - The WG has now reviewed this submission, and it is ready to be drafted as a case study article.

— Reply to this email directly, view it on GitHub https://github.com/Green-Software-Foundation/sci-guide/issues/60#issuecomment-1997931651, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3HBAFSV2ZK4MJV4Q4NQUYTYYHKB3AVCNFSM6AAAAABD2564A6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJXHEZTCNRVGE. You are receiving this because you were mentioned.

ursvill commented 3 months ago

@NAMRATA-WOKE - I will have a draft later today. Do you want eyes on it before I give it to Sean?

ursvill commented 3 months ago

https://docs.google.com/document/d/1xmcUjH9DeD2DVJ1fo8cGdD8G9puQr_2C/

seanmcilroy29 commented 3 months ago

Cast Case Study Slides added CAST case study - using SCI and software intelligence to estimate CO2 emissions.pdf