Default to zstd level 3 with 4 streams in tracy-capture.

This commit is contained in:
Bartosz Taudul 2024-06-02 15:35:07 +02:00
parent 277ec25a8d
commit 455738a266
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -346,7 +346,7 @@ int main( int argc, char** argv )
worker.GetFrameCount( *worker.GetFramesBase() ), tracy::TimeToString( worker.GetLastTime() - firstTime ), tracy::RealToString( worker.GetZoneCount() ), worker.GetFrameCount( *worker.GetFramesBase() ), tracy::TimeToString( worker.GetLastTime() - firstTime ), tracy::RealToString( worker.GetZoneCount() ),
tracy::TimeToString( std::chrono::duration_cast<std::chrono::nanoseconds>( t1 - t0 ).count() ) ); tracy::TimeToString( std::chrono::duration_cast<std::chrono::nanoseconds>( t1 - t0 ).count() ) );
fflush( stdout ); fflush( stdout );
auto f = std::unique_ptr<tracy::FileWrite>( tracy::FileWrite::Open( output ) ); auto f = std::unique_ptr<tracy::FileWrite>( tracy::FileWrite::Open( output, tracy::FileCompression::Zstd, 3, 4 ) );
if( f ) if( f )
{ {
worker.Write( *f, false ); worker.Write( *f, false );