<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ydb/build/plugins/ytest.py, branch CLI_2.21.0</title>
<subtitle>Mirror of YDB github repos</subtitle>
<id>https://code.mastervirt.ru/ydb/atom?h=CLI_2.21.0</id>
<link rel='self' href='https://code.mastervirt.ru/ydb/atom?h=CLI_2.21.0'/>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/'/>
<updated>2025-05-16T06:46:52Z</updated>
<entry>
<title>get rid of six in plugins</title>
<updated>2025-05-16T06:46:52Z</updated>
<author>
<name>snermolaev</name>
<email>snermolaev@yandex-team.com</email>
</author>
<published>2025-05-16T06:31:22Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=bd2e3ff66d6b4398194fe32537a0156cfd95310a'/>
<id>urn:sha1:bd2e3ff66d6b4398194fe32537a0156cfd95310a</id>
<content type='text'>
commit_hash:d85f21d6b4179697b8d5f8ab39c7d5216d35d1a8
</content>
</entry>
<entry>
<title>fix junit5-runner ForkSubtests: should distribute evenly tests in chunks</title>
<updated>2025-04-21T17:56:34Z</updated>
<author>
<name>almishev</name>
<email>almishev@yandex-team.com</email>
</author>
<published>2025-04-21T17:00:50Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=6b17ad8c52e16d0088291781e1b5a9e28d028b9b'/>
<id>urn:sha1:6b17ad8c52e16d0088291781e1b5a9e28d028b9b</id>
<content type='text'>
commit_hash:478736ce9fbf76b0b269d4ac39055a3989b92e7f
</content>
</entry>
<entry>
<title>Drop custom config support in STYLE_PYTHON</title>
<updated>2025-04-02T06:47:24Z</updated>
<author>
<name>alevitskii</name>
<email>alevitskii@yandex-team.com</email>
</author>
<published>2025-04-02T06:30:41Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=5cbf4c4aeaeccd21e788ccbe02494639c98717cb'/>
<id>urn:sha1:5cbf4c4aeaeccd21e788ccbe02494639c98717cb</id>
<content type='text'>
Drop custom config support in STYLE_PYTHON
commit_hash:47f5ddb6a0d62c66074a89276b77c6b34db33a6c
</content>
</entry>
<entry>
<title>Drop ruff_config_paths.json support in linter tests</title>
<updated>2025-04-02T04:43:06Z</updated>
<author>
<name>alevitskii</name>
<email>alevitskii@yandex-team.com</email>
</author>
<published>2025-04-02T04:26:41Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=dd91da01678cb17b1d61d7dcea7c037ce47a8207'/>
<id>urn:sha1:dd91da01678cb17b1d61d7dcea7c037ce47a8207</id>
<content type='text'>
Drop ruff_config_paths.json support in linter tests
commit_hash:45e008aa1b336014dc657f460ffca2abfd0649df
</content>
</entry>
<entry>
<title>Delete STYLE_CPP_ARC and _STYLE_CPP</title>
<updated>2025-03-25T06:21:55Z</updated>
<author>
<name>alevitskii</name>
<email>alevitskii@yandex-team.com</email>
</author>
<published>2025-03-25T06:07:10Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=4fe6ab0fdb1d112409176be736ba6e586b16eb7f'/>
<id>urn:sha1:4fe6ab0fdb1d112409176be736ba6e586b16eb7f</id>
<content type='text'>
Delete STYLE_CPP_ARC and _STYLE_CPP
commit_hash:cf9019ef25cbc6f6ac7571926096006f99af4b13
</content>
</entry>
<entry>
<title>Send porto_layers requirements to SB task</title>
<updated>2025-03-03T18:37:52Z</updated>
<author>
<name>alevitskii</name>
<email>alevitskii@yandex-team.com</email>
</author>
<published>2025-03-03T17:16:31Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=44d24c35433de6b811c408108e71dbd4fd74663d'/>
<id>urn:sha1:44d24c35433de6b811c408108e71dbd4fd74663d</id>
<content type='text'>
Send porto_layers requirements to SB task
commit_hash:13f2b498c203c43770c7c4dcfb8cbea59f12569b
</content>
</entry>
<entry>
<title>change build policy for mobile/geo/maps ya.make build</title>
<updated>2025-02-28T17:37:35Z</updated>
<author>
<name>r3zch</name>
<email>r3zch@yandex-team.com</email>
</author>
<published>2025-02-28T17:00:51Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=a00c5f24963aa5b3e9fc08a197dce8399b705c89'/>
<id>urn:sha1:a00c5f24963aa5b3e9fc08a197dce8399b705c89</id>
<content type='text'>
commit_hash:4875b5ef44f2f87a84bf374989d1c70b1fd4afff
</content>
</entry>
<entry>
<title>[devtools/ya] Added LANG_AGNOSTIC type to lang statistics</title>
<updated>2025-01-17T19:03:58Z</updated>
<author>
<name>prettyboy</name>
<email>prettyboy@yandex-team.com</email>
</author>
<published>2025-01-17T17:01:01Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=c89ef5ac36522b186f4372a6c3ec8b4e96a08666'/>
<id>urn:sha1:c89ef5ac36522b186f4372a6c3ec8b4e96a08666</id>
<content type='text'>
commit_hash:8dadcd633f444b7d9b0783f1ccc5395baa2a2e38
</content>
</entry>
<entry>
<title>Prototype - external python files mode for tests</title>
<updated>2025-01-16T19:26:51Z</updated>
<author>
<name>prettyboy</name>
<email>prettyboy@yandex-team.com</email>
</author>
<published>2025-01-16T18:01:45Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=2f3fd95aac24e27a3b0aa2badda49db82bf36cc5'/>
<id>urn:sha1:2f3fd95aac24e27a3b0aa2badda49db82bf36cc5</id>
<content type='text'>
Режим позволяет перезапускать python тесты или интеграционные тесты на питон программы при внесении изменений в python файлы без перекомпиляции.

Сценарий:
- прогнали тесты
- внесли изменение в `library/python/func/__init__.py`
- перезапустили, смотрим на времена

На примере интеграционного devtools/ya/handlers/analyze_make/tests в codenv (base конфигурация).

#|
||
ya m -rA
|
ya m -rA --ext-py
||
||
real    10m25,928s
user    0m53,465s
sys     1m14,791s

```
Total time by type:
[935171 ms] [LD] [count: 3, ave time 311723.67 msec]
[ 13657 ms] [prepare:AC] [count: 4, ave time 3414.25 msec]
[ 10436 ms] [TM] [count: 1, ave time 10436.00 msec]
[ 10387 ms] [prepare:get from local cache] [count: 1521, ave time 6.83 msec]
[  6480 ms] [TS] [count: 1, ave time 6480.00 msec]
[  3823 ms] [prepare:put into local cache, clean build dir] [count: 7, ave time 546.14 msec]
[  2279 ms] [CC] [count: 1, ave time 2279.00 msec]
[  1251 ms] [PY] [count: 1, ave time 1251.00 msec]
[   372 ms] [prepare:yt-store] [count: 2, ave time 186.00 msec]
[   154 ms] [AR] [count: 1, ave time 154.00 msec]
...
```

|

real    0m22,094s
user    0m26,372s
sys     0m3,363s

```
Total time by type:
[13140 ms] [TM] [count: 1, ave time 13140.00 msec]
[  351 ms] [prepare:yt-store] [count: 1, ave time 351.00 msec]
[   81 ms] [prepare:tools] [count: 8, ave time 10.12 msec]
[   32 ms] [prepare:AC] [count: 2, ave time 16.00 msec]
[   31 ms] [prepare:get from local cache] [count: 7, ave time 4.43 msec]
[   16 ms] [prepare:clean] [count: 3, ave time 5.33 msec]
```

||
|#

В codenv в base конфигуарции (4cpu) невероятно долго идёт линковка. Тот же самый сценарий, но на mous (54cpu)

#|
||
ya m -rA
|
ya m -rA --ext-py
||
||

real    0m25,435s
user    0m40,242s
sys     0m22,434s

```
Total time by type:
[30958 ms] [prepare:get from local cache] [count: 1521, ave time 20.35 msec]
[16293 ms] [prepare:AC] [count: 4, ave time 4073.25 msec]
[11161 ms] [LD] [count: 3, ave time 3720.33 msec]
[ 4256 ms] [TM] [count: 1, ave time 4256.00 msec]
[ 3529 ms] [TS] [count: 1, ave time 3529.00 msec]
[ 1542 ms] [CC] [count: 1, ave time 1542.00 msec]
[  635 ms] [PY] [count: 1, ave time 635.00 msec]
...
```

|

real    0m18,321s
user    0m21,673s
sys     0m3,204s

```
Total time by type:
[10786 ms] [TM] [count: 1, ave time 10786.00 msec]
[ 1568 ms] [prepare:yt-store] [count: 1, ave time 1568.00 msec]
[  151 ms] [prepare:tools] [count: 8, ave time 18.88 msec]
[   61 ms] [prepare:get from local cache] [count: 7, ave time 8.71 msec]
[   48 ms] [prepare:AC] [count: 2, ave time 24.00 msec]
[   14 ms] [prepare:clean] [count: 3, ave time 4.67 msec]
```

||
|#

В новом режиме тест ожидаемо замедляется, так как все питон программы при каждом старте вынуждены читать файлы с фс (ещё через арк), а потом ещё и компилировать байткод, т.е. холодный запуск
commit_hash:24c5a46a8385d3c065abfb6fc5b40f7ad24bb1cb
</content>
</entry>
<entry>
<title>Never compress python build resources to speedup python configuration and build</title>
<updated>2024-12-13T06:07:25Z</updated>
<author>
<name>spreis</name>
<email>spreis@yandex-team.com</email>
</author>
<published>2024-12-13T05:25:28Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=e90b83df32a421a93c021eaa91710c1193585f9a'/>
<id>urn:sha1:e90b83df32a421a93c021eaa91710c1193585f9a</id>
<content type='text'>
There is no runtime perf impact, but
- The change reduces build graph by removing 2 nodes out of 5 for python which accelerates both configuration and build
- surprisingly in all experiments there were positive impact on binary size about 2MiB
commit_hash:909fdeeb91b7f20c749177d638e97d5a469e422d
</content>
</entry>
</feed>
