[ 
https://issues.apache.org/jira/browse/CASSANDRA-20816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18012557#comment-18012557
 ] 

Dmitry Konstantinov commented on CASSANDRA-20816:
-------------------------------------------------

Another run to double-check:
 [^ci_summary_trunk_ 20816_v2.htm] 
 [^results_details_trunk_ 20816_v2.tar.xz] 

All failed tests are flaky or known issues not related to the change:
* dtest-latest.cqlsh_tests.test_cqlsh_copy.TestCqlshCopy 
test_bulk_round_trip_with_timeouts
* 
dtest-upgrade.upgrade_tests.cql_tests.TestCQLNodes3RF3_Upgrade_current_5_0_x_To_indev_trunk
 test_limit_compact_table
* 
dtest-upgrade.upgrade_tests.cql_tests.TestCQLNodes3RF3_Upgrade_current_4_1_x_To_indev_trunk
 test_delete_row
* db.virtual.AccordDebugKeyspaceTest patchJournalVestigialTest-_jdk11_x86_64
* db.virtual.AccordDebugKeyspaceTest 
patchJournalVestigialTest-latest_jdk11_x86_64
* distributed.test.SSTableLoaderEncryptionOptionsTest 
bulkLoaderSuccessfullyStreamsOverSslWithDeprecatedSslStoragePort-_jdk11_x86_64
* distributed.test.ShortReadProtectionTest testSkinnyTableWithoutLiveRows[15: 
read_cl=ALL flush=true paging=true, 
transactionalMode=off]-cassandra.testtag_IS_UNDEFINED
* distributed.test.accord.AccordIncrementalRepairTest 
fullRepairTest-cassandra.testtag_IS_UNDEFINED
* distributed.test.accord.AccordProgressLogTest 
testFetchTimeWindow-_jdk11_x86_64
* simulator.test.AccordHarrySimulationTest test-cassandra.testtag_IS_UNDEFINED

> Optimize MessagingService.getVersionOrdinal
> -------------------------------------------
>
>                 Key: CASSANDRA-20816
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-20816
>             Project: Apache Cassandra
>          Issue Type: Improvement
>          Components: Messaging/Internode
>            Reporter: Dmitry Konstantinov
>            Assignee: Dmitry Konstantinov
>            Priority: Normal
>             Fix For: 5.x
>
>         Attachments: 5.1_cpu.html, ci_summary_trunk_ 20816.htm, 
> ci_summary_trunk_ 20816_v2.htm, image-2025-08-04-19-55-41-878.png, 
> results_details_trunk_ 20816.tar.xz, results_details_trunk_ 20816_v2.tar.xz
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Based on CPU profile we spend about 0.41% of CPU in 
> MessagingService.getVersionOrdinal logic during a basic plain write stress 
> test.
> The map lookup (with an implicit auto-boxing) can be replaced with a plain 
> arithmetic operation. 
> A unit test can be used to ensure that the assumption about serialization 
> version incrementing for new versions is correct.
>  !image-2025-08-04-19-55-41-878.png|width=700! 
>  [^5.1_cpu.html] 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to