Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hw10 program optimization #10

Merged
merged 25 commits into from
Dec 27, 2024
Merged

Hw10 program optimization #10

merged 25 commits into from
Dec 27, 2024

Conversation

DimVlas
Copy link
Owner

@DimVlas DimVlas commented Dec 25, 2024

Домашнее задание №10 «Оптимизация программы»

Чек-лист студента (Что это?)

Критерии оценки

  • Пайплайн зелёный и нет попытки «обмануть» систему - 4 балла
  • Добавлены юнит-тесты - до 3 баллов
  • Понятность и чистота кода - до 3 баллов

Зачёт от 7 баллов

@DimVlas
Copy link
Owner Author

DimVlas commented Dec 25, 2024

benchstat
pkg: github.com/DimVlas/otus_hw/hw10_program_optimization
cpu: AMD Ryzen 5 3500X 6-Core Processor
│ bench_old.txt │ bench_new.txt │
│ sec/op │ sec/op vs base │
GetDomainStat-6 552.0m ± 2% 179.6m ± 2% -67.46% (p=0.000 n=10)

            │ bench_old.txt │            bench_new.txt             │
            │     B/op      │     B/op      vs base                │

GetDomainStat-6 302.25Mi ± 0% 28.09Mi ± 0% -90.71% (p=0.000 n=10)

            │ bench_old.txt │            bench_new.txt            │
            │   allocs/op   │  allocs/op   vs base                │

GetDomainStat-6 2845.4k ± 0% 723.2k ± 0% -74.58% (p=0.000 n=10)

Copy link
Collaborator

@agneum agneum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Спасибо за выполненное задание. Хорошая работа
Итого: 10 баллов из 10. Принято

@@ -1,10 +1,11 @@
module github.com/DimVlas/otus_hw/hw09_struct_validator
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Очень важно, чтобы PR содержал только файлы, относящиеся к текущему ДЗ

@DimVlas DimVlas merged commit 4a823b8 into master Dec 27, 2024
3 checks passed
@DimVlas DimVlas deleted the hw10_program_optimization branch December 27, 2024 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants