Updated performance sample
This commit is contained in:
Родитель
77a5c07065
Коммит
f2da38cdad
|
@ -4,7 +4,7 @@ namespace TabView.Sample.Models
|
|||
{
|
||||
public class Monkey
|
||||
{
|
||||
public int Index { get; set; }
|
||||
public string Index { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string Location { get; set; }
|
||||
public string Details { get; set; }
|
||||
|
|
|
@ -19,11 +19,11 @@ namespace TabView.Sample.ViewModels
|
|||
{
|
||||
Monkeys1 = new ObservableCollection<Monkey>();
|
||||
|
||||
for (int i = 0; i < 100; i++)
|
||||
for (int i = 0; i < 1000; i++)
|
||||
{
|
||||
Monkeys1.Add(new Monkey
|
||||
{
|
||||
Index = i,
|
||||
Index = $"Baboon {i}",
|
||||
Name = "Baboon",
|
||||
Location = "Africa & Asia",
|
||||
Details = "Baboons are African and Arabian Old World monkeys belonging to the genus Papio, part of the subfamily Cercopithecinae.",
|
||||
|
@ -33,7 +33,7 @@ namespace TabView.Sample.ViewModels
|
|||
|
||||
Monkeys1.Add(new Monkey
|
||||
{
|
||||
Index = i,
|
||||
Index = $"Capuchin Monkey {i}",
|
||||
Name = "Capuchin Monkey",
|
||||
Location = "Central & South America",
|
||||
Details = "The capuchin monkeys are New World monkeys of the subfamily Cebinae. Prior to 2011, the subfamily contained only a single genus, Cebus.",
|
||||
|
@ -43,7 +43,7 @@ namespace TabView.Sample.ViewModels
|
|||
|
||||
Monkeys1.Add(new Monkey
|
||||
{
|
||||
Index = i,
|
||||
Index = $"Blue Monkey {i}",
|
||||
Name = "Blue Monkey",
|
||||
Location = "Central and East Africa",
|
||||
Details = "The blue monkey or diademed monkey is a species of Old World monkey native to Central and East Africa, ranging from the upper Congo River basin east to the East African Rift and south to northern Angola and Zambia",
|
||||
|
@ -54,11 +54,11 @@ namespace TabView.Sample.ViewModels
|
|||
|
||||
Monkeys2 = new ObservableCollection<Monkey>();
|
||||
|
||||
for (int i = 0; i < 50; i++)
|
||||
for (int i = 0; i < 500; i++)
|
||||
{
|
||||
Monkeys2.Add(new Monkey
|
||||
{
|
||||
Index = i,
|
||||
Index = $"Baboon {i}",
|
||||
Name = "Baboon",
|
||||
Location = "Africa & Asia",
|
||||
Details = "Baboons are African and Arabian Old World monkeys belonging to the genus Papio, part of the subfamily Cercopithecinae.",
|
||||
|
@ -68,7 +68,7 @@ namespace TabView.Sample.ViewModels
|
|||
|
||||
Monkeys2.Add(new Monkey
|
||||
{
|
||||
Index = i,
|
||||
Index = $"Capuchin Monkey {i}",
|
||||
Name = "Capuchin Monkey",
|
||||
Location = "Central & South America",
|
||||
Details = "The capuchin monkeys are New World monkeys of the subfamily Cebinae. Prior to 2011, the subfamily contained only a single genus, Cebus.",
|
||||
|
@ -78,7 +78,7 @@ namespace TabView.Sample.ViewModels
|
|||
|
||||
Monkeys2.Add(new Monkey
|
||||
{
|
||||
Index = i,
|
||||
Index = $"Blue Monkey {i}",
|
||||
Name = "Blue Monkey",
|
||||
Location = "Central and East Africa",
|
||||
Details = "The blue monkey or diademed monkey is a species of Old World monkey native to Central and East Africa, ranging from the upper Congo River basin east to the East African Rift and south to northern Angola and Zambia",
|
||||
|
@ -89,11 +89,11 @@ namespace TabView.Sample.ViewModels
|
|||
|
||||
Monkeys3 = new ObservableCollection<Monkey>();
|
||||
|
||||
for (int i = 0; i < 200; i++)
|
||||
for (int i = 0; i < 2000; i++)
|
||||
{
|
||||
Monkeys3.Add(new Monkey
|
||||
{
|
||||
Index = i,
|
||||
Index = $"Baboon {i}",
|
||||
Name = "Baboon",
|
||||
Location = "Africa & Asia",
|
||||
Details = "Baboons are African and Arabian Old World monkeys belonging to the genus Papio, part of the subfamily Cercopithecinae.",
|
||||
|
@ -103,7 +103,7 @@ namespace TabView.Sample.ViewModels
|
|||
|
||||
Monkeys3.Add(new Monkey
|
||||
{
|
||||
Index = i,
|
||||
Index = $"Capuchin Monkey {i}",
|
||||
Name = "Capuchin Monkey",
|
||||
Location = "Central & South America",
|
||||
Details = "The capuchin monkeys are New World monkeys of the subfamily Cebinae. Prior to 2011, the subfamily contained only a single genus, Cebus.",
|
||||
|
@ -113,7 +113,7 @@ namespace TabView.Sample.ViewModels
|
|||
|
||||
Monkeys3.Add(new Monkey
|
||||
{
|
||||
Index = i,
|
||||
Index = $"Blue Monkey {i}",
|
||||
Name = "Blue Monkey",
|
||||
Location = "Central and East Africa",
|
||||
Details = "The blue monkey or diademed monkey is a species of Old World monkey native to Central and East Africa, ranging from the upper Congo River basin east to the East African Rift and south to northern Angola and Zambia",
|
||||
|
|
|
@ -19,7 +19,7 @@ namespace TabView.Sample.ViewModels
|
|||
{
|
||||
new Monkey
|
||||
{
|
||||
Index = 0,
|
||||
Index = "0",
|
||||
Name = "Baboon",
|
||||
Location = "Africa & Asia",
|
||||
Details = "Baboons are African and Arabian Old World monkeys belonging to the genus Papio, part of the subfamily Cercopithecinae.",
|
||||
|
@ -29,7 +29,7 @@ namespace TabView.Sample.ViewModels
|
|||
|
||||
new Monkey
|
||||
{
|
||||
Index = 1,
|
||||
Index = "1",
|
||||
Name = "Capuchin Monkey",
|
||||
Location = "Central & South America",
|
||||
Details = "The capuchin monkeys are New World monkeys of the subfamily Cebinae. Prior to 2011, the subfamily contained only a single genus, Cebus.",
|
||||
|
@ -39,7 +39,7 @@ namespace TabView.Sample.ViewModels
|
|||
|
||||
new Monkey
|
||||
{
|
||||
Index = 2,
|
||||
Index = "2",
|
||||
Name = "Blue Monkey",
|
||||
Location = "Central and East Africa",
|
||||
Details = "The blue monkey or diademed monkey is a species of Old World monkey native to Central and East Africa, ranging from the upper Congo River basin east to the East African Rift and south to northern Angola and Zambia",
|
||||
|
@ -47,10 +47,9 @@ namespace TabView.Sample.ViewModels
|
|||
Color = Color.LightSlateGray
|
||||
},
|
||||
|
||||
|
||||
new Monkey
|
||||
{
|
||||
Index = 3,
|
||||
Index = "3",
|
||||
Name = "Squirrel Monkey",
|
||||
Location = "Central & South America",
|
||||
Details = "The squirrel monkeys are the New World monkeys of the genus Saimiri. They are the only genus in the subfamily Saimirinae. The name of the genus Saimiri is of Tupi origin, and was also used as an English name by early researchers.",
|
||||
|
@ -60,7 +59,7 @@ namespace TabView.Sample.ViewModels
|
|||
|
||||
new Monkey
|
||||
{
|
||||
Index = 4,
|
||||
Index = "4",
|
||||
Name = "Golden Lion Tamarin",
|
||||
Location = "Brazil",
|
||||
Details = "The golden lion tamarin also known as the golden marmoset, is a small New World monkey of the family Callitrichidae.",
|
||||
|
@ -70,7 +69,7 @@ namespace TabView.Sample.ViewModels
|
|||
|
||||
new Monkey
|
||||
{
|
||||
Index = 5,
|
||||
Index = "5",
|
||||
Name = "Howler Monkey",
|
||||
Location = "South America",
|
||||
Details = "Howler monkeys are among the largest of the New World monkeys. Fifteen species are currently recognised. Previously classified in the family Cebidae, they are now placed in the family Atelidae.",
|
||||
|
@ -80,7 +79,7 @@ namespace TabView.Sample.ViewModels
|
|||
|
||||
new Monkey
|
||||
{
|
||||
Index = 6,
|
||||
Index = "6",
|
||||
Name = "Japanese Macaque",
|
||||
Location = "Japan",
|
||||
Details = "The Japanese macaque, is a terrestrial Old World monkey species native to Japan. They are also sometimes known as the snow monkey because they live in areas where snow covers the ground for months each",
|
||||
|
@ -90,7 +89,7 @@ namespace TabView.Sample.ViewModels
|
|||
|
||||
new Monkey
|
||||
{
|
||||
Index = 7,
|
||||
Index = "7",
|
||||
Name = "Mandrill",
|
||||
Location = "Southern Cameroon, Gabon, Equatorial Guinea, and Congo",
|
||||
Details = "The mandrill is a primate of the Old World monkey family, closely related to the baboons and even more closely to the drill. It is found in southern Cameroon, Gabon, Equatorial Guinea, and Congo.",
|
||||
|
@ -100,7 +99,7 @@ namespace TabView.Sample.ViewModels
|
|||
|
||||
new Monkey
|
||||
{
|
||||
Index = 8,
|
||||
Index = "8",
|
||||
Name = "Proboscis Monkey",
|
||||
Location = "Borneo",
|
||||
Details = "The proboscis monkey or long-nosed monkey, known as the bekantan in Malay, is a reddish-brown arboreal Old World monkey that is endemic to the south-east Asian island of Borneo.",
|
||||
|
|
Загрузка…
Ссылка в новой задаче