Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: launchd/Mirror

Tags

v11.4.3

Toggle v11.4.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
perf: Increasing Network Writer performance (MirrorNetworking#1674)

* Increasing performance of network writer

* Using Array.Clear

renaming value to newLength

* Update Assets/Mirror/Tests/Editor/NetworkWriterTest.cs

Co-Authored-By: Paul Pacheco <[email protected]>

* adding braces

* extracting EnsureCapacity method

* Update NetworkWriter.cs

Co-authored-by: Paul Pacheco <[email protected]>
Co-authored-by: vis2k <[email protected]>

v11.4.2

Toggle v11.4.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
perf: Use continuewith to queue up ssl messages (MirrorNetworking#1640)

get rid of the complicated queue. Use Task.continuewith 

also,  apparently we have to flush or latency is really bad.

v11.4.1

Toggle v11.4.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
adding Category to weaver and Telepathy tests (MirrorNetworking#1643)

v11.4.0

Toggle v11.4.0's commit message
Fixed comment in template

v11.3.9

Toggle v11.3.9's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
perf: faster NetworkReader pooling (MirrorNetworking#1623)

* replacing stack with array for NetworkReaderPool

* Reader tests

v11.3.8

Toggle v11.3.8's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
perf: faster NetworkWriter pooling (MirrorNetworking#1620)

* using array in NetworkWriterPool instead of stack

* Using property

adding debug warning if pool is full

* adding tests for  NetworkWriterPool

* Update NetworkWriterPool.cs

* Update NetworkWriterPoolTest.cs

Co-authored-by: vis2k <[email protected]>

v11.3.7

Toggle v11.3.7's commit message
Revert "perf: faster NetworkWriter pooling (MirrorNetworking#1616)"

This reverts commit 5128b12.

v11.3.6

Toggle v11.3.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
perf: faster NetworkWriter pooling (MirrorNetworking#1616)

Stack turned out to be slow way to pool NetworkWriters.
Replace them with an array

see MirrorNetworking#1614

v11.3.5

Toggle v11.3.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
perf: replace isValueType with faster alternative (MirrorNetworking#1617

)

According to vis benchmark here MirrorNetworking#1614 (comment)
isValueType is an expensive operation.

This microoptimization replaces isValueType for a faster (not so readable) alternative

v11.3.4

Toggle v11.3.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
perf: use byte[] directly instead of MemoryStream (MirrorNetworking#1618

)

* perf: use byte[] directly instead of MemoryStream

* Optimize writing int32 and int64

* Update Assets/Mirror/Runtime/NetworkWriter.cs

Co-Authored-By: vis2k <[email protected]>

* Update Assets/Mirror/Runtime/NetworkWriter.cs

Co-Authored-By: vis2k <[email protected]>

* Update Assets/Mirror/Runtime/NetworkWriter.cs

* Start with bigger buffer

* Woops,  should have double checked suggestion

* Removed invalid Test

We should not require NetworkWriter to behave in certain way when Position
is set to out of bounds.

That is an invalid use of NetworkWriter, so NW should be free to do any behavior

* smells

* Update NetworkWriter.cs

Co-authored-by: vis2k <[email protected]>