mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 11:40:52 +01:00
* Add benchmark for serializing arrays of strings, ints and definitions * Add sealed elements array benchmark
12 lines
295 B
C#
12 lines
295 B
C#
using Robust.Shared.Serialization.Manager.Attributes;
|
|
|
|
namespace Robust.Benchmarks.Serialization.Definitions
|
|
{
|
|
[DataDefinition]
|
|
public sealed class SealedDataDefinitionWithString
|
|
{
|
|
[DataField("string")]
|
|
public string StringField { get; init; } = default!;
|
|
}
|
|
}
|