Skip to content

clementgbcn/AdventOfCode2015

Repository files navigation

AdventOfCode2015

Presentation

Advent of Code 2015 solution in Python

Run all the challenges with the command python -m main -a

Update the README.md Results section with python -m main -r

Testing

Run the tests with the command python -m pytest

Moreover, you can get the coverage with

python -m coverage run -m pytest
python -m coverage html
open htmlcov/index.html

Running Datadog Agent

export DD_SERVICE="advent-of-code-2015"
export DD_ENV="prod"
export DD_VERSION=0.1.0
export DD_TRACE_AGENT_URL=http://localhost:8136
export DD_GIT_COMMIT_SHA=$(git rev-parse HEAD)
export DD_GIT_REPOSITORY_URL=$(git config --get remote.origin.url | sed -e 's/:/\//' -e 's/^git@/https:\/\//' -e 's/\.git$//') 
export DD_PROFILING_ENABLE_CODE_PROVENANCE=true
export DD_PROFILING_STACK_V2_ENABLED=true
ddtrace-run -p python -m main -a

Summary

Results

Results

Day Star Result Elapsed Time, ms
1 1st 232 0.345
1 2nd 1783 0.109
2 1st 1586300 1.465
2 2nd 3737498 0.906

About

Advent of Code 2015 solution in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published