David
|
60ffa6f514
|
Use FileShare.None when creating files
|
2021-03-07 14:43:28 +01:00 |
|
Bond_009
|
1c74e2f40e
|
Fix build
|
2021-02-24 02:57:10 +01:00 |
|
Bond_009
|
b1fe28d0a6
|
Use GetEncodingOptions where possible
|
2021-02-21 02:58:30 +01:00 |
|
Bond_009
|
eba859e33e
|
Minor improvements
|
2021-02-21 02:49:52 +01:00 |
|
dkanada
|
13d65318eb
|
Merge pull request #5223 from Bond-009/minor10
Minor improvements
|
2021-02-20 10:56:55 +09:00 |
|
Bond_009
|
e9f22303a4
|
Properly forward cancellationTokens
|
2021-02-15 14:19:17 +01:00 |
|
Bond_009
|
65bab55ca0
|
Minor improvements
|
2021-02-13 00:39:18 +01:00 |
|
dkanada
|
aea1c4f310
|
Merge pull request #5142 from M0ssTee/updateRegex
Replaced /d with [0-9], see issue #2923
|
2021-02-08 22:52:58 +09:00 |
|
dkanada
|
54a3ab15a3
|
Merge pull request #5005 from jellyfin/bytes
JsonSerializer deserialize from bytes where possible
|
2021-02-05 11:47:06 +09:00 |
|
M0ssTee
|
8f88d0d2cb
|
Update Emby.Server.Implementations/LiveTv/TunerHosts/HdHomerun/HdHomerunManager.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
|
2021-02-03 00:57:04 -05:00 |
|
Troy
|
8c640a1492
|
Replaced /d with [0-9], see issue #2923
|
2021-02-01 02:49:23 +00:00 |
|
Bond_009
|
a9b497720d
|
Use JsonSerializer.SerializeToUtf8Bytes when doing a round trip
This test uses a very small object (CountryInfo), using a bigger object
would increase the difference in allocated memory.
```
BenchmarkDotNet=v0.12.1, OS=fedora 32
Intel Core i7-6700HQ CPU 2.60GHz (Skylake), 1 CPU, 8 logical and 4 physical cores
.NET Core SDK=5.0.100
[Host] : .NET Core 5.0.0 (CoreCLR 5.0.20.51904, CoreFX 5.0.20.51904), X64 RyuJIT
DefaultJob : .NET Core 5.0.0 (CoreCLR 5.0.20.51904, CoreFX 5.0.20.51904), X64 RyuJIT
| Method | Mean | Error | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---------------- |-----------:|---------:|---------:|-------:|------:|------:|----------:|
| RoundTripBytes | 932.0 ns | 5.09 ns | 4.25 ns | 0.1173 | - | - | 368 B |
| RoundTripString | 1,114.8 ns | 22.19 ns | 23.74 ns | 0.1469 | - | - | 464 B |
```
|
2021-01-12 15:37:18 +01:00 |
|
Bond_009
|
1ea2b200c0
|
JsonSerializer deserialize from bytes where possible
This is faster and uses way less memory
```
BenchmarkDotNet=v0.12.1, OS=fedora 32
Intel Core i7-6700HQ CPU 2.60GHz (Skylake), 1 CPU, 8 logical and 4 physical cores
.NET Core SDK=5.0.100
[Host] : .NET Core 5.0.0 (CoreCLR 5.0.20.51904, CoreFX 5.0.20.51904), X64 RyuJIT
DefaultJob : .NET Core 5.0.0 (CoreCLR 5.0.20.51904, CoreFX 5.0.20.51904), X64 RyuJIT
| Method | Mean | Error | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|------- |---------:|--------:|--------:|--------:|------:|------:|----------:|
| Bytes | 158.4 us | 2.56 us | 2.14 us | 16.8457 | - | - | 52.08 KB |
| String | 172.8 us | 0.78 us | 0.70 us | 41.5039 | - | - | 127.82 KB |
| Custom | 155.5 us | 2.95 us | 2.76 us | 10.0098 | - | - | 31.27 KB |
```
|
2021-01-12 15:28:02 +01:00 |
|
Bond-009
|
054adf6379
|
Merge pull request #4853 from Ullmie02/servicestack-json
|
2020-12-30 10:33:32 +01:00 |
|
David
|
3dec1fd6b2
|
Use UTF8 encoding and async correctly
|
2020-12-29 00:35:59 +01:00 |
|
David
|
21fd124bca
|
Code revie
|
2020-12-27 11:15:46 +01:00 |
|
David
|
f73bb92ce3
|
Remove manual N/A removal and write directly to stream
|
2020-12-26 20:00:54 +01:00 |
|
David
|
043d045448
|
Put json serializer options in private field
|
2020-12-24 11:22:34 +01:00 |
|
David
|
e835dfb27d
|
Use sync string instead of file
|
2020-12-24 10:31:51 +01:00 |
|
David
|
2a574914ea
|
Use streams instead of strings
|
2020-12-23 19:24:58 +01:00 |
|
David
|
196388d607
|
Remove custom Json serializer from Emby.Server.Implementations
|
2020-12-23 13:14:40 +01:00 |
|
Ryan Petris
|
c0c0eaec05
|
new List(int) does not pre-allocate indicies like Arrays, it merely sets the initial capacity.
|
2020-12-22 20:37:07 -07:00 |
|
Claus Vium
|
f322866127
|
Merge pull request #4737 from crobibero/missing-ensure-success
|
2020-12-11 09:53:43 +01:00 |
|
crobibero
|
a9aafbaf5a
|
Don't throw exception unless needed
|
2020-12-10 08:25:05 -07:00 |
|
Bond_009
|
c0fde3496c
|
Add tests for HdHomerunHost.TryGetTunerHostInfo
|
2020-12-09 01:24:30 +01:00 |
|
Bond_009
|
514d95e5aa
|
Add tests for HdHomerunHost.GetLineup
|
2020-12-09 01:08:41 +01:00 |
|
Claus Vium
|
e6650651b3
|
Merge pull request #4738 from jellyfin/tests8
Add tests for HdHomerunHost.GetModelInfo
|
2020-12-08 20:20:33 +01:00 |
|
Bond_009
|
7027561e19
|
Add tests for HdHomerunHost.GetModelInfo
|
2020-12-08 18:53:38 +01:00 |
|
Claus Vium
|
b6ecaccf92
|
Merge pull request #4730 from crobibero/base-item-dto-guid-nullable
Don't serialize empty GUID to null
|
2020-12-08 18:22:18 +01:00 |
|
crobibero
|
e621244405
|
Add missing EnsureSuccessStatusCode
|
2020-12-08 08:28:19 -07:00 |
|
crobibero
|
26e5aacb90
|
Fix JsonConverter recursion
|
2020-12-08 07:18:25 -07:00 |
|
crobibero
|
8517b28eba
|
Make BaseItemDto Guids nullable
|
2020-12-07 15:23:40 -07:00 |
|
crobibero
|
66a1880a58
|
Add number to bool json converter
|
2020-12-06 20:26:21 -07:00 |
|
Bond_009
|
e4fd61411f
|
Minor improvements
|
2020-12-02 15:38:52 +01:00 |
|
Claus Vium
|
0a35f35311
|
Merge pull request #4591 from jellyfin/schedulesdirect
Clean up SchedulesDirect
|
2020-11-30 19:58:20 +01:00 |
|
Joshua M. Boniface
|
9169a28df1
|
Merge pull request #4588 from jellyfin/hex
Remove Hex class as the BCL has one now
|
2020-11-27 01:59:58 -05:00 |
|
Bond_009
|
81ca6cb47c
|
Clean up SchedulesDirect
|
2020-11-26 21:54:14 +01:00 |
|
Bond_009
|
38932fc7d1
|
Schedules Direct requires the hex to be lowercase
|
2020-11-26 13:21:04 +01:00 |
|
Bond_009
|
8c8a71692e
|
Remove Hex class as the BCL has one now
|
2020-11-25 23:40:31 +01:00 |
|
crobibero
|
0acea5b077
|
Don't throw null reference if ContentType is null.
|
2020-11-24 16:42:27 -07:00 |
|
Joshua M. Boniface
|
2c9e355e42
|
Merge branch 'master' into NetworkPR2
|
2020-11-21 23:28:15 -05:00 |
|
Joshua M. Boniface
|
d5eb7e786f
|
Merge pull request #4182 from ryanpetris/fix-hdhomerun
Fix HD Home Run streaming
|
2020-11-21 17:22:19 -05:00 |
|
BaronGreenback
|
8f25eaeb9d
|
Update Emby.Server.Implementations/LiveTv/TunerHosts/HdHomerun/HdHomerunUdpStream.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
|
2020-11-21 16:02:54 +00:00 |
|
Greenback
|
616caca2b7
|
Added more comments.
|
2020-11-21 13:27:27 +00:00 |
|
BaronGreenback
|
7a6063ed41
|
Merge branch 'master' into NetworkPR2
|
2020-11-21 00:35:53 +00:00 |
|
Fernando Fernández
|
e21e00cad5
|
Merge remote-tracking branch 'upstream/master' into no-scaling
|
2020-11-19 23:18:25 +01:00 |
|
Greenback
|
a3e47f3e4e
|
Updated to latest Unstable.
|
2020-11-19 18:27:18 +00:00 |
|
Greenback
|
e51ddd326c
|
Fixes spelling.
|
2020-11-18 13:23:45 +00:00 |
|
Fernando Fernández
|
38c3b6fcd3
|
Fix build and thread detection logic
|
2020-11-18 10:20:59 +01:00 |
|
Bond_009
|
4b1c9dc9ea
|
Pass cancellation where possible
|
2020-11-17 19:43:00 +01:00 |
|