Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Производительность #2

Open
completely-burned opened this issue Sep 11, 2016 · 11 comments
Open

Производительность #2

completely-burned opened this issue Sep 11, 2016 · 11 comments
Labels
help wanted не могу исправить сам players затронуты игроки, высокий приоритет system ядро миссии, перепись скрипов

Comments

@completely-burned
Copy link
Owner

completely-burned commented Sep 11, 2016

No description provided.

@completely-burned completely-burned changed the title Очень медленно создаются отряды ботов производительность Apr 9, 2020
@completely-burned
Copy link
Owner Author

completely-burned commented Apr 9, 2020

сильная нагрузка при передвижении ботов, неподвижные меньше грузят, по наблюдениям

@completely-burned completely-burned added the system ядро миссии, перепись скрипов label Apr 22, 2020
completely-burned added a commit that referenced this issue Sep 27, 2020
completely-burned added a commit that referenced this issue Sep 27, 2020
completely-burned added a commit that referenced this issue Sep 27, 2020
completely-burned added a commit that referenced this issue Sep 27, 2020
completely-burned added a commit that referenced this issue Sep 27, 2020
completely-burned added a commit that referenced this issue Sep 27, 2020
completely-burned added a commit that referenced this issue Sep 27, 2020
@completely-burned
Copy link
Owner Author

#75 использовать Headless Client

@completely-burned completely-burned added the report доклад label Jan 20, 2021
@completely-burned completely-burned removed the report доклад label Mar 20, 2021
completely-burned added a commit that referenced this issue Apr 14, 2021
completely-burned added a commit that referenced this issue Apr 14, 2021
completely-burned added a commit that referenced this issue Apr 14, 2021
completely-burned added a commit that referenced this issue Apr 14, 2021
completely-burned added a commit that referenced this issue Apr 14, 2021
completely-burned added a commit that referenced this issue Apr 14, 2021
completely-burned added a commit that referenced this issue Apr 14, 2021
@completely-burned
Copy link
Owner Author

при использовании Multiplayer Framework persistent не очищается
0118452

@completely-burned
Copy link
Owner Author

высокая нагрузка

@completely-burned
Copy link
Owner Author

completely-burned commented Jun 29, 2021

пытался понять где тормозит
пока только понял что несмотря на плохой код
скрипты почти не влияют на производительность в миссии со стороны клиента
но если сравнивать с чужими сценариями, то моя миссия <тормоз среди тормозов>
мне не известно почему так

completely-burned added a commit that referenced this issue Jun 29, 2021
@completely-burned
Copy link
Owner Author

completely-burned commented Jun 29, 2021

ec10a8d...304d694
ничего не понимаю, ощущение что отзывчивость стала лучше, но ничего толком не менял, возможно просто ноутбук остыл или объектом рядом меньше было в этот раз
setVariable public грузит

@completely-burned
Copy link
Owner Author

completely-burned commented Jul 8, 2021

делать меньше записей в переменные, проверка значения перед записью возможно улучшит ситуацию в некоторых местах

@completely-burned
Copy link
Owner Author

completely-burned commented Jul 9, 2021

делать меньше записей в переменные, проверка значения перед записью возможно улучшит ситуацию в некоторых местах

нет смысла
количество за 5 минут

while{time<start}do{
	_c = _c + 1;
	_variable = "variable2";
};
1.87145e+006
while{time<start}do{
	_c = _c + 1;
	if(_variable != "variable2")then{_variable = "variable2"};
};
1.53805e+006
while{time<start}do{
	_c = _c + 1;
};
2.2363e+006

@completely-burned completely-burned added the players затронуты игроки, высокий приоритет label Jul 9, 2021
completely-burned added a commit that referenced this issue Jul 13, 2021
@completely-burned
Copy link
Owner Author

completely-burned commented Mar 27, 2022

fps на сервере серьёзно повысился, но из-за динамического ограничения количества ии и объектов теперь серьёзно тормозит на клиентских пк.
b8c5df5...17a44c5
Геймплей от этого тоже изменился в худшую сторону.
related to #138

@completely-burned
Copy link
Owner Author

Не могу найти источник высокой нагрузки с клиентской стороны.

@completely-burned completely-burned added the help wanted не могу исправить сам label May 14, 2022
@completely-burned
Copy link
Owner Author

Вероятно использование массива с данными будет более эффективно чем setVariable getVariable на объектах.

@completely-burned completely-burned changed the title производительность Производительность Sep 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted не могу исправить сам players затронуты игроки, высокий приоритет system ядро миссии, перепись скрипов
Projects
None yet
Development

No branches or pull requests

1 participant