<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tailscale/smallzstd/testdata, branch debug-testwrapper</title>
<subtitle>The easiest, most secure way to use WireGuard and 2FA</subtitle>
<id>http://git.waynecole.info/tailscale/atom?h=debug-testwrapper</id>
<link rel='self' href='http://git.waynecole.info/tailscale/atom?h=debug-testwrapper'/>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/'/>
<updated>2025-09-29T03:38:47Z</updated>
<entry>
<title>smallzstd: delete unused package</title>
<updated>2025-09-29T03:38:47Z</updated>
<author>
<name>Brad Fitzpatrick</name>
<email>bradfitz@tailscale.com</email>
</author>
<published>2025-09-28T19:46:45Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=a32102f7412bc3fda4ac773c13b208c2743c2b54'/>
<id>urn:sha1:a32102f7412bc3fda4ac773c13b208c2743c2b54</id>
<content type='text'>
As of the earlier 85febda86db1, our new preferred zstd API of choice
is zstdframe.

Updates #cleanup
Updates tailscale/corp#18514

Change-Id: I5a6164d3162bf2513c3673b6d1e34cfae84cb104
Signed-off-by: Brad Fitzpatrick &lt;bradfitz@tailscale.com&gt;
</content>
</entry>
<entry>
<title>smallzstd: new package that constructs zstd small encoders/decoders.</title>
<updated>2020-07-02T23:13:06Z</updated>
<author>
<name>David Anderson</name>
<email>danderson@tailscale.com</email>
</author>
<published>2020-07-02T18:26:33Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=9cd4e6519108f3f4f34bf6e9ee497d900e5b73aa'/>
<id>urn:sha1:9cd4e6519108f3f4f34bf6e9ee497d900e5b73aa</id>
<content type='text'>
It's just a config wrapper that passes "use less memory at the
expense of compression" parameters by default, so that we don't
accidentally construct resource-hungry (de)compressors.

Also includes a benchmark that measures the memory cost of the
small variants vs. the stock variants. The savings are significant
on both compressors (~8x less memory) and decompressors (~1.4x less,
not including the savings from the significantly smaller
window on the compression side - with those savings included it's
more like ~140x smaller).

BenchmarkSmallEncoder-8            	   56174	     19354 ns/op	      31 B/op	       0 allocs/op
BenchmarkSmallEncoderWithBuild-8   	    2900	    382940 ns/op	 1746547 B/op	      36 allocs/op
BenchmarkStockEncoder-8            	   48921	     25761 ns/op	     286 B/op	       0 allocs/op
BenchmarkStockEncoderWithBuild-8   	     426	   2630241 ns/op	13843842 B/op	     124 allocs/op
BenchmarkSmallDecoder-8            	  123814	      9344 ns/op	       0 B/op	       0 allocs/op
BenchmarkSmallDecoderWithBuild-8   	   41547	     27455 ns/op	   27694 B/op	      31 allocs/op
BenchmarkStockDecoder-8            	  129832	      9417 ns/op	       1 B/op	       0 allocs/op
BenchmarkStockDecoderWithBuild-8   	   25561	     51751 ns/op	   39607 B/op	      92 allocs/op

Signed-off-by: David Anderson &lt;danderson@tailscale.com&gt;
</content>
</entry>
</feed>
