<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ydb/util/datetime/base_ut.cpp, branch oidc-1.2.5-dev</title>
<subtitle>Mirror of YDB github repos</subtitle>
<id>https://code.mastervirt.ru/ydb/atom?h=oidc-1.2.5-dev</id>
<link rel='self' href='https://code.mastervirt.ru/ydb/atom?h=oidc-1.2.5-dev'/>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/'/>
<updated>2025-02-18T04:41:34Z</updated>
<entry>
<title>[util] speedup GmTimeR outside LUT interval</title>
<updated>2025-02-18T04:41:34Z</updated>
<author>
<name>tobo</name>
<email>tobo@yandex-team.com</email>
</author>
<published>2025-02-18T04:25:33Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=b9824e1dc11c30a60d6416b9d345758bc7901544'/>
<id>urn:sha1:b9824e1dc11c30a60d6416b9d345758bc7901544</id>
<content type='text'>
commit_hash:d57be220df393c193619ef5ed129ec4436540629
</content>
</entry>
<entry>
<title>FixNamespaceComments in /util</title>
<updated>2024-09-05T17:17:10Z</updated>
<author>
<name>dmasloff</name>
<email>dmasloff@yandex-team.com</email>
</author>
<published>2024-09-05T17:05:47Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=74184a40c15dc0649a769d9754d0ce7efb44db04'/>
<id>urn:sha1:74184a40c15dc0649a769d9754d0ce7efb44db04</id>
<content type='text'>
FixNamespaceComments in /util
bb9152570d7c258798644ead5a59f604de05ef3b
</content>
</entry>
<entry>
<title>Remove Y_UNIT_TEST from config.clang-format</title>
<updated>2024-08-30T17:16:45Z</updated>
<author>
<name>dmasloff</name>
<email>dmasloff@yandex-team.com</email>
</author>
<published>2024-08-30T16:55:50Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=d1833df14252315c0719e3cc9fccf3c85bce2811'/>
<id>urn:sha1:d1833df14252315c0719e3cc9fccf3c85bce2811</id>
<content type='text'>
Remove Y_UNIT_TEST from config.clang-format
853b6da2c4464342d4cfe7756c18ed599004fdd8
</content>
</entry>
<entry>
<title>Set SpacesInLineCommentPrefix to 1 in /util</title>
<updated>2024-08-17T20:43:45Z</updated>
<author>
<name>dmasloff</name>
<email>dmasloff@yandex-team.com</email>
</author>
<published>2024-08-17T20:33:42Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=69340f4614e853b9319df4b454ab7497711ee3cd'/>
<id>urn:sha1:69340f4614e853b9319df4b454ab7497711ee3cd</id>
<content type='text'>
Set SpacesInLineCommentPrefix to 1 in /util
3853f9ec5143722c1bebd8dc0ffc9b61a6c17657
</content>
</entry>
<entry>
<title>Intermediate changes</title>
<updated>2024-04-23T12:14:31Z</updated>
<author>
<name>robot-piglet</name>
<email>robot-piglet@yandex-team.com</email>
</author>
<published>2024-04-23T11:58:37Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=e378d50b00432742f25d9f84f19ff6d513a457d8'/>
<id>urn:sha1:e378d50b00432742f25d9f84f19ff6d513a457d8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>speedup GmTimeR function</title>
<updated>2022-08-25T04:36:11Z</updated>
<author>
<name>tobo</name>
<email>tobo@yandex-team.com</email>
</author>
<published>2022-08-25T04:36:11Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=62b3eaa578ea03c63d0fd1ee409e13e360b1ab93'/>
<id>urn:sha1:62b3eaa578ea03c63d0fd1ee409e13e360b1ab93</id>
<content type='text'>
в профиле перфа Маркетного репорта постоянно вижу GmTimeR
там в цикле вычитается по количеству дней в году и прибавляется по 1 году с 1970 по 2022 на каждый вызов

В Маркете проблема стреляла и раньше

в последней итерации функция становится на ~~30% быстрее системной gmtime_r

%%
----------- GmTimeR ---------------
 samples:       20691
 iterations:    264304536
 iterations hr:    264M
 run time:      5.002055225
 per iteration: 39.85866484 cycles
----------- gmtime_r ---------------
 samples:       17452
 iterations:    188034528
 iterations hr:    188M
 run time:      5.001259884
 per iteration: 56.96146577 cycles
%%

текущая верся почти в 2 раза медленнее системной:

%%
----------- GmTimeR ---------------
 samples:       12760
 iterations:    100514931
 iterations hr:    101M
 run time:      5.00096133
 per iteration: 105.4334174 cycles
----------- gmtime_r ---------------
 samples:       17667
 iterations:    192697896
 iterations hr:    193M
 run time:      5.001356603
 per iteration: 55.69031415 cycles
%%</content>
</entry>
<entry>
<title>Restoring authorship annotation for &lt;hippskill@yandex-team.ru&gt;. Commit 2 of 2.</title>
<updated>2022-02-10T13:50:12Z</updated>
<author>
<name>hippskill</name>
<email>hippskill@yandex-team.ru</email>
</author>
<published>2022-02-10T13:50:12Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=bd077d09a08e659195376ee97dc24728bb554246'/>
<id>urn:sha1:bd077d09a08e659195376ee97dc24728bb554246</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Restoring authorship annotation for &lt;hippskill@yandex-team.ru&gt;. Commit 1 of 2.</title>
<updated>2022-02-10T13:50:12Z</updated>
<author>
<name>hippskill</name>
<email>hippskill@yandex-team.ru</email>
</author>
<published>2022-02-10T13:50:12Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=6362c4a2681cc317ffd22633d773f02de0d13697'/>
<id>urn:sha1:6362c4a2681cc317ffd22633d773f02de0d13697</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Restoring authorship annotation for &lt;prout@yandex-team.ru&gt;. Commit 2 of 2.</title>
<updated>2022-02-10T13:49:43Z</updated>
<author>
<name>prout</name>
<email>prout@yandex-team.ru</email>
</author>
<published>2022-02-10T13:49:43Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=d2247f243d31adde8feb765324e40c83c5a90999'/>
<id>urn:sha1:d2247f243d31adde8feb765324e40c83c5a90999</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Restoring authorship annotation for &lt;prout@yandex-team.ru&gt;. Commit 1 of 2.</title>
<updated>2022-02-10T13:49:42Z</updated>
<author>
<name>prout</name>
<email>prout@yandex-team.ru</email>
</author>
<published>2022-02-10T13:49:42Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=7b7fa28b9099b7adca890459a699c6ba5eeff4ca'/>
<id>urn:sha1:7b7fa28b9099b7adca890459a699c6ba5eeff4ca</id>
<content type='text'>
</content>
</entry>
</feed>
