SlideShare a Scribd company logo
Benefits of testing in Golang
Introduction
• Go is a modern open-source language that has
several features which make manual as well as
automated testing easier.
• Go Test tool conducts writing tests at
development time.
• Golang provides code coverage analysis,
displaying exact lines exercised by tests.
• Following are some of the advantageous
features Golang brings to testing environment:
Logrus
Logrus is a feature-rich structured logger for Golang. We can
write logs asynchronously to avoid extra overhead on the
system.
Benefits:
• Due to asynchronous logging important resources can be
saved for other priority tasks.
• Service Hooks such as Airbrake help in quick bug fixing and
superior test code quality while Redis features in-memory
data set.
• Efficiently track and write logs that result in neat and well-
written code.
Golang Benchcmp
• The benchcmp command displays
performance changes between
benchmarks. Benchcmp parses the
output of two 'go test' benchmark
runs, correlates the results per
benchmark, and displays the deltas.
• By setting benchmarks we can easily
compare system calls by
understanding which piece/version
of code performs better.
Benefits:
• Implement superior quality code
which is free of any performance
bottlenecks.
Uber Go-Torch
• Uber Go-Torch is a tool for stochastically profiling Go
programs. It collects stack traces from Golang’s built-in
pprof library and synthesizes this information into a flame
graph. The flame graph generates data sets about Time
consumption, Memory Consumption, CPU Usage and
more.
Benefits:
• With so many inputs at their disposal, Uber Go-Torch helps
developers to understand and optimize the code to
improve system performance to the function level.
• The resulting code is optimized for speed, CPU usage,
memory usage, performance and time.
Golang Pprof
Golang Pprof is Golangs built-in Library. It continually
generates data. By utilizing the Pprof tool we are able to
perform CPU profiling of the system. It helps us analyze the
CPU dump and then generate reports on performance in the
CPU by generating a flame graph.
Benefits:
• When used in collaboration with Uber Go-Torch, Golang
Pprof helps develop code that performs at an optimized
level.
Golang testing

More Related Content

What's hot

Code review automation and functional tests on Carrefour
Code review automation and functional tests on CarrefourCode review automation and functional tests on Carrefour
Code review automation and functional tests on Carrefour
Denis Santos
 
Apache Beam: Lote portátil y procesamiento de transmisión
Apache Beam: Lote portátil y procesamiento de transmisiónApache Beam: Lote portátil y procesamiento de transmisión
Apache Beam: Lote portátil y procesamiento de transmisión
Globant
 
演算法期中段落報告
演算法期中段落報告演算法期中段落報告
演算法期中段落報告Bernie Chiu
 
Insight Demo
Insight DemoInsight Demo
Insight Demoreza-asad
 
Insight Recent Demo
Insight Recent DemoInsight Recent Demo
Insight Recent Demoreza-asad
 
SFScon18 - Kurt Ranalter - Leonhard Holzer - API level regression testing: a ...
SFScon18 - Kurt Ranalter - Leonhard Holzer - API level regression testing: a ...SFScon18 - Kurt Ranalter - Leonhard Holzer - API level regression testing: a ...
SFScon18 - Kurt Ranalter - Leonhard Holzer - API level regression testing: a ...
South Tyrol Free Software Conference
 
ICANN DNS Symposium (IDS 2019): RDAP CDN Distribution Experience
ICANN DNS Symposium (IDS 2019): RDAP CDN Distribution ExperienceICANN DNS Symposium (IDS 2019): RDAP CDN Distribution Experience
ICANN DNS Symposium (IDS 2019): RDAP CDN Distribution Experience
APNIC
 
A/B testing platform on Elixir
A/B testing platform on Elixir A/B testing platform on Elixir
A/B testing platform on Elixir
Dmitry Tymchuk
 
Gatling
Gatling Gatling
Gatling
Gaurav Shukla
 
Autonomous workload rebalancing in kafka
Autonomous workload rebalancing in kafkaAutonomous workload rebalancing in kafka
Autonomous workload rebalancing in kafka
Indrajeet Kumar
 
How SharePoint Online Migration API Works
How SharePoint Online Migration API WorksHow SharePoint Online Migration API Works
How SharePoint Online Migration API Works
Manoj Mittal
 
OpenStack Orchestration - Juno Updates
OpenStack Orchestration - Juno UpdatesOpenStack Orchestration - Juno Updates
OpenStack Orchestration - Juno Updates
OpenStack Foundation
 
SDE to SPS (Synergi Pipeline Simulator) - Spatial Data to Text
SDE to SPS (Synergi Pipeline Simulator) - Spatial Data to TextSDE to SPS (Synergi Pipeline Simulator) - Spatial Data to Text
SDE to SPS (Synergi Pipeline Simulator) - Spatial Data to Text
Safe Software
 
Boost your App with Gatling
Boost your App with GatlingBoost your App with Gatling
Boost your App with Gatling
Knoldus Inc.
 
QA Automation Solution
QA Automation SolutionQA Automation Solution
QA Automation Solution
DataArt
 
Balkan - data eng meetup - data fusion
Balkan - data eng meetup - data fusionBalkan - data eng meetup - data fusion
Balkan - data eng meetup - data fusion
Balkan Misirli
 
Testing Tools course training institute hyderabad
Testing Tools course training institute hyderabadTesting Tools course training institute hyderabad
Testing Tools course training institute hyderabad
Jaya Suresh Nunna
 

What's hot (17)

Code review automation and functional tests on Carrefour
Code review automation and functional tests on CarrefourCode review automation and functional tests on Carrefour
Code review automation and functional tests on Carrefour
 
Apache Beam: Lote portátil y procesamiento de transmisión
Apache Beam: Lote portátil y procesamiento de transmisiónApache Beam: Lote portátil y procesamiento de transmisión
Apache Beam: Lote portátil y procesamiento de transmisión
 
演算法期中段落報告
演算法期中段落報告演算法期中段落報告
演算法期中段落報告
 
Insight Demo
Insight DemoInsight Demo
Insight Demo
 
Insight Recent Demo
Insight Recent DemoInsight Recent Demo
Insight Recent Demo
 
SFScon18 - Kurt Ranalter - Leonhard Holzer - API level regression testing: a ...
SFScon18 - Kurt Ranalter - Leonhard Holzer - API level regression testing: a ...SFScon18 - Kurt Ranalter - Leonhard Holzer - API level regression testing: a ...
SFScon18 - Kurt Ranalter - Leonhard Holzer - API level regression testing: a ...
 
ICANN DNS Symposium (IDS 2019): RDAP CDN Distribution Experience
ICANN DNS Symposium (IDS 2019): RDAP CDN Distribution ExperienceICANN DNS Symposium (IDS 2019): RDAP CDN Distribution Experience
ICANN DNS Symposium (IDS 2019): RDAP CDN Distribution Experience
 
A/B testing platform on Elixir
A/B testing platform on Elixir A/B testing platform on Elixir
A/B testing platform on Elixir
 
Gatling
Gatling Gatling
Gatling
 
Autonomous workload rebalancing in kafka
Autonomous workload rebalancing in kafkaAutonomous workload rebalancing in kafka
Autonomous workload rebalancing in kafka
 
How SharePoint Online Migration API Works
How SharePoint Online Migration API WorksHow SharePoint Online Migration API Works
How SharePoint Online Migration API Works
 
OpenStack Orchestration - Juno Updates
OpenStack Orchestration - Juno UpdatesOpenStack Orchestration - Juno Updates
OpenStack Orchestration - Juno Updates
 
SDE to SPS (Synergi Pipeline Simulator) - Spatial Data to Text
SDE to SPS (Synergi Pipeline Simulator) - Spatial Data to TextSDE to SPS (Synergi Pipeline Simulator) - Spatial Data to Text
SDE to SPS (Synergi Pipeline Simulator) - Spatial Data to Text
 
Boost your App with Gatling
Boost your App with GatlingBoost your App with Gatling
Boost your App with Gatling
 
QA Automation Solution
QA Automation SolutionQA Automation Solution
QA Automation Solution
 
Balkan - data eng meetup - data fusion
Balkan - data eng meetup - data fusionBalkan - data eng meetup - data fusion
Balkan - data eng meetup - data fusion
 
Testing Tools course training institute hyderabad
Testing Tools course training institute hyderabadTesting Tools course training institute hyderabad
Testing Tools course training institute hyderabad
 

Similar to Golang testing

Why golang
Why golangWhy golang
Why golang
Why golangWhy golang
Ultimate golang performance optimization guide
Ultimate golang performance optimization guide Ultimate golang performance optimization guide
Ultimate golang performance optimization guide
Katy Slemon
 
Dev ops presentation
Dev ops presentationDev ops presentation
Dev ops presentation
Ahmed Kamel
 
Apidays Helsinki 2024 - Bridging the Gap Between Backend and Frontend API Tes...
Apidays Helsinki 2024 - Bridging the Gap Between Backend and Frontend API Tes...Apidays Helsinki 2024 - Bridging the Gap Between Backend and Frontend API Tes...
Apidays Helsinki 2024 - Bridging the Gap Between Backend and Frontend API Tes...
apidays
 
Java Code Quality Tools
Java Code Quality ToolsJava Code Quality Tools
Java Code Quality Tools
Anju ML
 
Advantages of golang development services & 10 most used go frameworks
Advantages of golang development services & 10 most used go frameworksAdvantages of golang development services & 10 most used go frameworks
Advantages of golang development services & 10 most used go frameworks
Katy Slemon
 
Performance profiling and testing of symfony application 2
Performance profiling and testing of symfony application 2Performance profiling and testing of symfony application 2
Performance profiling and testing of symfony application 2
Andrew Yatsenko
 
Rubyconf presentation
Rubyconf presentationRubyconf presentation
Rubyconf presentationkrevuri
 
Java Performance & Profiling
Java Performance & ProfilingJava Performance & Profiling
Java Performance & Profiling
Isuru Perera
 
Sonar
SonarSonar
DevOpsDays Taipei 2019 - Mastering IaC the DevOps Way
DevOpsDays Taipei 2019 - Mastering IaC the DevOps WayDevOpsDays Taipei 2019 - Mastering IaC the DevOps Way
DevOpsDays Taipei 2019 - Mastering IaC the DevOps Way
smalltown
 
ABAP_STD.pptx
ABAP_STD.pptxABAP_STD.pptx
ABAP_STD.pptx
JAYA216630
 
How to deploy your Apps in serverless-way using App Engine.pptx
How to deploy your Apps in serverless-way using App Engine.pptxHow to deploy your Apps in serverless-way using App Engine.pptx
How to deploy your Apps in serverless-way using App Engine.pptx
Institut Teknologi Sepuluh Nopember Surabaya
 
Browser-Based Load Testing with Grafana K6
Browser-Based Load Testing with Grafana K6Browser-Based Load Testing with Grafana K6
Browser-Based Load Testing with Grafana K6
Knoldus Inc.
 
Optimization In Mobile Systems
Optimization In Mobile SystemsOptimization In Mobile Systems
Optimization In Mobile Systemsmomobangalore
 
JIT Compiler
JIT CompilerJIT Compiler
Features of go
Features of goFeatures of go
Features of go
Manjitsing Valvi
 
Load runner & win runner
Load runner & win runnerLoad runner & win runner
Load runner & win runner
Himanshu
 
Serverless Computing with Azure Functions Best Practices
Serverless Computing with Azure Functions Best PracticesServerless Computing with Azure Functions Best Practices
Serverless Computing with Azure Functions Best Practices
Juan Pablo
 

Similar to Golang testing (20)

Why golang
Why golangWhy golang
Why golang
 
Why golang
Why golangWhy golang
Why golang
 
Ultimate golang performance optimization guide
Ultimate golang performance optimization guide Ultimate golang performance optimization guide
Ultimate golang performance optimization guide
 
Dev ops presentation
Dev ops presentationDev ops presentation
Dev ops presentation
 
Apidays Helsinki 2024 - Bridging the Gap Between Backend and Frontend API Tes...
Apidays Helsinki 2024 - Bridging the Gap Between Backend and Frontend API Tes...Apidays Helsinki 2024 - Bridging the Gap Between Backend and Frontend API Tes...
Apidays Helsinki 2024 - Bridging the Gap Between Backend and Frontend API Tes...
 
Java Code Quality Tools
Java Code Quality ToolsJava Code Quality Tools
Java Code Quality Tools
 
Advantages of golang development services & 10 most used go frameworks
Advantages of golang development services & 10 most used go frameworksAdvantages of golang development services & 10 most used go frameworks
Advantages of golang development services & 10 most used go frameworks
 
Performance profiling and testing of symfony application 2
Performance profiling and testing of symfony application 2Performance profiling and testing of symfony application 2
Performance profiling and testing of symfony application 2
 
Rubyconf presentation
Rubyconf presentationRubyconf presentation
Rubyconf presentation
 
Java Performance & Profiling
Java Performance & ProfilingJava Performance & Profiling
Java Performance & Profiling
 
Sonar
SonarSonar
Sonar
 
DevOpsDays Taipei 2019 - Mastering IaC the DevOps Way
DevOpsDays Taipei 2019 - Mastering IaC the DevOps WayDevOpsDays Taipei 2019 - Mastering IaC the DevOps Way
DevOpsDays Taipei 2019 - Mastering IaC the DevOps Way
 
ABAP_STD.pptx
ABAP_STD.pptxABAP_STD.pptx
ABAP_STD.pptx
 
How to deploy your Apps in serverless-way using App Engine.pptx
How to deploy your Apps in serverless-way using App Engine.pptxHow to deploy your Apps in serverless-way using App Engine.pptx
How to deploy your Apps in serverless-way using App Engine.pptx
 
Browser-Based Load Testing with Grafana K6
Browser-Based Load Testing with Grafana K6Browser-Based Load Testing with Grafana K6
Browser-Based Load Testing with Grafana K6
 
Optimization In Mobile Systems
Optimization In Mobile SystemsOptimization In Mobile Systems
Optimization In Mobile Systems
 
JIT Compiler
JIT CompilerJIT Compiler
JIT Compiler
 
Features of go
Features of goFeatures of go
Features of go
 
Load runner & win runner
Load runner & win runnerLoad runner & win runner
Load runner & win runner
 
Serverless Computing with Azure Functions Best Practices
Serverless Computing with Azure Functions Best PracticesServerless Computing with Azure Functions Best Practices
Serverless Computing with Azure Functions Best Practices
 

More from GoWitek Consulting Pvt.Ltd

Golang for data analytics
Golang for data analyticsGolang for data analytics
Golang for data analytics
GoWitek Consulting Pvt.Ltd
 
pump monitoring system
pump monitoring systempump monitoring system
pump monitoring system
GoWitek Consulting Pvt.Ltd
 
IIoT solutions for centrifugal pump problems
IIoT solutions for centrifugal pump problemsIIoT solutions for centrifugal pump problems
IIoT solutions for centrifugal pump problems
GoWitek Consulting Pvt.Ltd
 
Sensors for industrial centrifugal pumps
Sensors for industrial centrifugal pumpsSensors for industrial centrifugal pumps
Sensors for industrial centrifugal pumps
GoWitek Consulting Pvt.Ltd
 
Golang testing
Golang testingGolang testing
Big data in manufacturing
Big data in manufacturingBig data in manufacturing
Big data in manufacturing
GoWitek Consulting Pvt.Ltd
 
Energy management system
Energy management systemEnergy management system
Energy management system
GoWitek Consulting Pvt.Ltd
 
Data analytics for agriculture
Data analytics for agricultureData analytics for agriculture
Data analytics for agriculture
GoWitek Consulting Pvt.Ltd
 
Application of Artificial Intelligence
Application of Artificial IntelligenceApplication of Artificial Intelligence
Application of Artificial Intelligence
GoWitek Consulting Pvt.Ltd
 
Pump Monitoring System
Pump Monitoring System Pump Monitoring System
Pump Monitoring System
GoWitek Consulting Pvt.Ltd
 
IoT security compliance checklist
IoT security compliance checklistIoT security compliance checklist
IoT security compliance checklist
GoWitek Consulting Pvt.Ltd
 
IIoT pumping solution for mining
 IIoT pumping solution for mining IIoT pumping solution for mining
IIoT pumping solution for mining
GoWitek Consulting Pvt.Ltd
 
Golang for data analytics
Golang for data analyticsGolang for data analytics
Golang for data analytics
GoWitek Consulting Pvt.Ltd
 
Golang for IoT projects
Golang for IoT projectsGolang for IoT projects
Golang for IoT projects
GoWitek Consulting Pvt.Ltd
 
Golang for Artificial Intelligence
Golang for Artificial IntelligenceGolang for Artificial Intelligence
Golang for Artificial Intelligence
GoWitek Consulting Pvt.Ltd
 
Warranty fraud
Warranty fraudWarranty fraud
AI applications
AI applicationsAI applications
IIoT Pumping Solutions
IIoT Pumping SolutionsIIoT Pumping Solutions
IIoT Pumping Solutions
GoWitek Consulting Pvt.Ltd
 

More from GoWitek Consulting Pvt.Ltd (18)

Golang for data analytics
Golang for data analyticsGolang for data analytics
Golang for data analytics
 
pump monitoring system
pump monitoring systempump monitoring system
pump monitoring system
 
IIoT solutions for centrifugal pump problems
IIoT solutions for centrifugal pump problemsIIoT solutions for centrifugal pump problems
IIoT solutions for centrifugal pump problems
 
Sensors for industrial centrifugal pumps
Sensors for industrial centrifugal pumpsSensors for industrial centrifugal pumps
Sensors for industrial centrifugal pumps
 
Golang testing
Golang testingGolang testing
Golang testing
 
Big data in manufacturing
Big data in manufacturingBig data in manufacturing
Big data in manufacturing
 
Energy management system
Energy management systemEnergy management system
Energy management system
 
Data analytics for agriculture
Data analytics for agricultureData analytics for agriculture
Data analytics for agriculture
 
Application of Artificial Intelligence
Application of Artificial IntelligenceApplication of Artificial Intelligence
Application of Artificial Intelligence
 
Pump Monitoring System
Pump Monitoring System Pump Monitoring System
Pump Monitoring System
 
IoT security compliance checklist
IoT security compliance checklistIoT security compliance checklist
IoT security compliance checklist
 
IIoT pumping solution for mining
 IIoT pumping solution for mining IIoT pumping solution for mining
IIoT pumping solution for mining
 
Golang for data analytics
Golang for data analyticsGolang for data analytics
Golang for data analytics
 
Golang for IoT projects
Golang for IoT projectsGolang for IoT projects
Golang for IoT projects
 
Golang for Artificial Intelligence
Golang for Artificial IntelligenceGolang for Artificial Intelligence
Golang for Artificial Intelligence
 
Warranty fraud
Warranty fraudWarranty fraud
Warranty fraud
 
AI applications
AI applicationsAI applications
AI applications
 
IIoT Pumping Solutions
IIoT Pumping SolutionsIIoT Pumping Solutions
IIoT Pumping Solutions
 

Recently uploaded

Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 

Recently uploaded (20)

Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 

Golang testing

  • 2. Introduction • Go is a modern open-source language that has several features which make manual as well as automated testing easier. • Go Test tool conducts writing tests at development time. • Golang provides code coverage analysis, displaying exact lines exercised by tests. • Following are some of the advantageous features Golang brings to testing environment:
  • 3. Logrus Logrus is a feature-rich structured logger for Golang. We can write logs asynchronously to avoid extra overhead on the system. Benefits: • Due to asynchronous logging important resources can be saved for other priority tasks. • Service Hooks such as Airbrake help in quick bug fixing and superior test code quality while Redis features in-memory data set. • Efficiently track and write logs that result in neat and well- written code.
  • 4. Golang Benchcmp • The benchcmp command displays performance changes between benchmarks. Benchcmp parses the output of two 'go test' benchmark runs, correlates the results per benchmark, and displays the deltas. • By setting benchmarks we can easily compare system calls by understanding which piece/version of code performs better. Benefits: • Implement superior quality code which is free of any performance bottlenecks.
  • 5. Uber Go-Torch • Uber Go-Torch is a tool for stochastically profiling Go programs. It collects stack traces from Golang’s built-in pprof library and synthesizes this information into a flame graph. The flame graph generates data sets about Time consumption, Memory Consumption, CPU Usage and more. Benefits: • With so many inputs at their disposal, Uber Go-Torch helps developers to understand and optimize the code to improve system performance to the function level. • The resulting code is optimized for speed, CPU usage, memory usage, performance and time.
  • 6. Golang Pprof Golang Pprof is Golangs built-in Library. It continually generates data. By utilizing the Pprof tool we are able to perform CPU profiling of the system. It helps us analyze the CPU dump and then generate reports on performance in the CPU by generating a flame graph. Benefits: • When used in collaboration with Uber Go-Torch, Golang Pprof helps develop code that performs at an optimized level.