<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ydb/util/datetime/base_ut.cpp, branch 24.1.1</title>
<subtitle>Mirror of YDB github repos</subtitle>
<id>https://code.mastervirt.ru/ydb/atom?h=24.1.1</id>
<link rel='self' href='https://code.mastervirt.ru/ydb/atom?h=24.1.1'/>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/'/>
<updated>2022-08-25T04:36:11Z</updated>
<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>
<entry>
<title>Restoring authorship annotation for &lt;lapshov@yandex-team.ru&gt;. Commit 2 of 2.</title>
<updated>2022-02-10T13:49:39Z</updated>
<author>
<name>lapshov</name>
<email>lapshov@yandex-team.ru</email>
</author>
<published>2022-02-10T13:49:39Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=1ef52da9919aaa7ec7e3c51da7fdaa637ab133b7'/>
<id>urn:sha1:1ef52da9919aaa7ec7e3c51da7fdaa637ab133b7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Restoring authorship annotation for &lt;lapshov@yandex-team.ru&gt;. Commit 1 of 2.</title>
<updated>2022-02-10T13:49:39Z</updated>
<author>
<name>lapshov</name>
<email>lapshov@yandex-team.ru</email>
</author>
<published>2022-02-10T13:49:39Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=4f36f44b1e216dca1f44ada8d126e7b70f05da2f'/>
<id>urn:sha1:4f36f44b1e216dca1f44ada8d126e7b70f05da2f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Restoring authorship annotation for &lt;svshevtsov@yandex-team.ru&gt;. Commit 2 of 2.</title>
<updated>2022-02-10T13:49:37Z</updated>
<author>
<name>svshevtsov</name>
<email>svshevtsov@yandex-team.ru</email>
</author>
<published>2022-02-10T13:49:37Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=de89752358147d7b25ef59a85b431bb564068a49'/>
<id>urn:sha1:de89752358147d7b25ef59a85b431bb564068a49</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Restoring authorship annotation for &lt;svshevtsov@yandex-team.ru&gt;. Commit 1 of 2.</title>
<updated>2022-02-10T13:49:37Z</updated>
<author>
<name>svshevtsov</name>
<email>svshevtsov@yandex-team.ru</email>
</author>
<published>2022-02-10T13:49:37Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=657337012a264721d58c470b4e9e796611f3c492'/>
<id>urn:sha1:657337012a264721d58c470b4e9e796611f3c492</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Restoring authorship annotation for &lt;kimkim@yandex-team.ru&gt;. Commit 2 of 2.</title>
<updated>2022-02-10T13:49:28Z</updated>
<author>
<name>kimkim</name>
<email>kimkim@yandex-team.ru</email>
</author>
<published>2022-02-10T13:49:28Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=10807864acf73d00f425a23b442aac2cf34403a8'/>
<id>urn:sha1:10807864acf73d00f425a23b442aac2cf34403a8</id>
<content type='text'>
</content>
</entry>
</feed>
