Comments (5)
Pipeline manager:
@classmethod
def _get_all_by_config_id(cls, config_id: str) -> List[Pipeline]:
return cls._repository._search_by_name(config_id)
fs_base
def _search_by_name(self, name) -> List[Entity]:
return [self.__to_entity(f) for f in self._directory.glob(f"*{name}*.json")]
On pipeline, scenario, task and data node => 0.21 to 0.10 for latest insertion after 50.
Better:
return [self.__to_entity(f) for f in self._directory.iterdir() if name in f.name]
from taipy-core.
__get_model_filepath in _fs_base.py
if raise_if_not_exist and not filepath.exists():
raise ModelNotFound(str(self._directory), model_id)
and not if not filepath.exists() and raise_if_not_exist:
from taipy-core.
Impact time is on _search_by_name
in _fs_base.
from taipy-core.
do not reload config_id, parent_id, etc.
from taipy-core.
Here is the new performance with these changes. Note that for cycle, I create scenarios with the same cycle/day so at the end, I only have one cycle in my .data.
We can predict the time execution of create_scenario
:
Time (no cycle) = 0.06735397nb_scenarios + 0.07187587
Time (cycle) = 0.14598272nb_scenarios + 0.037
It means that the coefs between no cycle and cycle is multiplied by 2,16739592. The intercept for both times are almost null.
Moreover, the coef of the last version was around 0.28 for no cycle. It means that time execution was divided by 4 for no cycle.
The coef for cycle was around 0.46. So the time was divided by 3.2.
from taipy-core.
Related Issues (20)
- Problem of version compability even with Develop mode on HOT 1
- Trigger integration testing when merging taipy-core develop HOT 2
- Update config schema
- BUG- several apps in the same directory crash HOT 3
- Review schema.json descriptions
- Add unit tests for migrate CLI
- Generate a safety backup of entities before migrating them
- BUG-cannot create scenario with label containing accented char like é à HOT 4
- Improve is_submittable
- BUG-Can not change the db_location of SQL repository
- BUG-Logger throws incorrect errors on Data Node HOT 1
- BUG-Error when running twice production mode
- Add caching to mongodb connector HOT 1
- BUG-Running Core Service twice will break Core without explaining why HOT 7
- Implement predefined data node for S3 storage HOT 1
- Improve Dev process: Investigate grouping Core and Rest in the same repo HOT 4
- Move name from data_node attribute and replace it by property
- Filter database datanode should not read all data
- BUG-Can not write to a SQL Data node
- BUG-Can not show version number in development mode
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from taipy-core.