• S sverchok
  • Информация о проекте
    • Информация о проекте
    • Активность
    • Метки
    • Участники
  • Репозиторий
    • Репозиторий
    • Файлы
    • Коммиты
    • Ветки
    • Теги
    • Участники
    • Диаграмма
    • Сравнение
  • Задачи 148
    • Задачи 148
    • Список
    • Доски
    • Спринты
  • Запросы на слияние 21
    • Запросы на слияние 21
  • CI/CD
    • CI/CD
    • Конвейеры
    • Задания
    • Расписания
  • Развертывания
    • Развертывания
    • Окружения
    • Релизы
  • Пакеты и реестры
    • Пакеты и реестры
    • Реестр пакетов
    • Реестр контейнеров
  • Мониторинг
    • Мониторинг
    • Инциденты
  • Аналитика
    • Аналитика
    • Поток ценности
    • CI/CD
    • Репозиторий
  • Wiki
    • Wiki
  • Сниппеты
    • Сниппеты
  • Активность
  • Диаграмма
  • Создать новую задачу
  • Задания
  • Коммиты
  • Доски с задачами
Свернуть панель
  • nikitronn
  • sverchok
  • Запросы на слияние
  • !2393

Update system mem

  • Ревью изменений

  • Скачать
  • Почтовые патчи
  • Простое отличие
Закрыто nikitronn запросил слияние update_system_mem в master Мар 28, 2019
  • Обзор 2
  • Коммиты 85
  • Конвейеры 0
  • Изменения 69

Created by: Durman

This is an attempt to remake update system. Main goal is to make such system that would calculate node only when this is really need. I think this can become really important update of Sverchok that will make nodeing a little bit easier. There are 3 update events:

event old US new US
update node updating only changed nodes updating only changed nodes
update tree updating every node in tree updating only changed nodes
animation update updating every node in tree update only animation nodes and next after them

In new update system there are 3 conditions that determine should node be recalculated or not:

  • All sockets (inputs and outputs) should have the same links as previous update.
  • All data passing from input sockets should have the same data as previous update event.
  • All parameters of node should be the same as previous update. In most cases this approach should work faster and even much more faster.

This branch is ready to test. In this moment monads is not supported yet the same as nodes which takes data from blender database excluding frame info node.

Testing instruction:

  • First of all old update system should be disable in Svechok preferences. 2019-03-28_19-42-59

After that you can start testing. In node tree changed nodes will have red color. If you will notice some nodes that should not be updated but nevertheless has red color please make bug report in this topic. update colors

It is possible to get additional information about process of update system:

  • For this you should enabled debug level of logging in Svechok settings and toggle log to text buffer. 2019-03-28_19-56-24

  • Now in "Sverchok log" text file updating information is available.

2019-03-28_20-02-16

For better perfomance of animation I would recommend disable logging.

#2380 (closed)

Preflight checklist

Put an x letter in each brackets when you're done this item:

  • Code changes complete.
  • Code documentation complete.
  • Documentation for users complete (or not required, if user never sees these changes).
  • Manual testing done.
  • Unit-tests implemented.
  • Ready for merge.
Ответственный
Назначить
Проверяющие
Запросить ревью
Оценка трудозатрат
Исходная ветка: update_system_mem