Performance Lets dive into Performance issues
Performance Lets dive into Performance issues. • Everything in JavaScript defaults to being on the same thread. Too much work on main thread • Android nested layouts • Functions and objects defined0 码力 | 15 页 | 1.71 MB | 1 年前3陈东 - 利用Rust重塑移动应用开发-230618
Third-party support (Javascript better than Dart) 利用 Rust 重塑移动应用开发 跨平台开发的优势和局 限性 Cons: - Performance - Native feature utilize - Existing Codebase 跨平台开发到到底 应该跨什么? UI or Logic ? 利用 Rust 重塑移动应用开发 的特点 Why Rust? - Cross platform - Performance - Thread Safe - Memory Safe - Love 利用 Rust 重塑移动应用开发 Rust 在移动应用 开发中的应用 Why Rust? - Cross platform - Performance - Memory Safe - Love 利用 Rust 重塑移动应用开发 hardware wallet for the Web3 world 利用 Rust 重塑移动应用开发 Photo / image / chart 采用 Rust 重构业务逻 辑的背景和动机 Performance The same business logic will run on different platforms such as embedded devices, IOS, Android0 码力 | 22 页 | 2.10 MB | 1 年前3whats new in visual studio
branches & customizations • Hot Reload • Dependent breakpoints & Force run to cursor • And… performance Performance of Visual Studio Build Debug Edit Developer inner-loop Developer inner-loop Build faster Unreal Engine 4.27.1 IntelliSense Ready 18x faster Learn more at http://aka.ms/18xfaster Performance of Visual Studio Developer inner-loop Build Debug Edit Find in Files 1.8x faster Open faster Unreal Engine 4.27.1 IntelliSense Ready 18x faster Learn more at http://aka.ms/18xfaster Performance of Visual Studio At CppCon last year Developer inner-loop Build Debug Edit Find in0 码力 | 42 页 | 19.02 MB | 5 月前3C++高性能并行编程与优化 - 课件 - 07 深入浅出访存优化
Ordering on the Intel Xeon Phi • Modern server architectures rely on memory locality for optimal performance. Data needs to be organized that allows the CPU’s to process the data, without having to wait using a Morton ordering, can help in many cases. When data is held in cache or in cache lines, performance will be better than if data is held in different cache lines. On the Intel Xeon Phi coprocessor in up to 11 times the performance on the Intel Xeon Phi coprocessor. When using multiple threads (which the Intel Xeon Phi is designed for), using the Morton ordering, performance is up to 2.44 times0 码力 | 147 页 | 18.88 MB | 1 年前3绕过conntrack,使用eBPF增强 IPVS优化K8s网络性能
eBPF Agenda 目录 01 Problems with K8s Service How to optimize 02 Comparison with industry Performance measurement 03 04 Future work 05 06 Lessons from eBPF What is K8s Service • It exposes a set control/data plane • Stably runs for two decades • Support rich scheduling algorithm • Cons • Performance cost caused by conntrack • Some bugs How to optimize • Guidelines • Use less CPU instructions Less modification to kernel Comparison with industry • Pitfalls • Performance of clusters of the same configure may differ • Performance of a cluster in different time slot may differ • Due to CPU oversold0 码力 | 24 页 | 1.90 MB | 1 年前3基于Rust-vmm实现Kubernetes运行时
−CVE-2019-14271 Docker CP vulnerability Pod Isolation Challenges • Noisy neighbor −Impact performance on CPU, Memory, Bandwidth, Buffer IO, PIDs, File descriptors # kubectl run --rm -it bb --image=busybox emulation • Flexible: Easy to customize to fit various network, storage and OS environments • High-performance: Leverage KVM capability Advantage of Rust-VMM • Google implements the first Rust-based light Rust-VMM Overview Rust Based • New language with a focus on correctness and performance • Compiled to native code offering performance similar to C • Memory management without garbage collection • Designed0 码力 | 27 页 | 34.17 MB | 1 年前3C++20 STL Features: 1 Year of Development on GitHub
228 How We Use GitHub • Code: linear history, few feature branches • Issues: cxx20, LWG, bug, performance, etc. • Pull Requests: Used for all development • Continuous Integration: Azure Pipelines • issues track bugfixes in the Standard itself • GH-333 LWG-3070 path::lexically_relative • bug, performance, throughput, enhancement • Porting from Developer Community, Azure Boards, todos • GH-713 boyer_moore_searcher Unusually well-specified preconditions and postconditions • Unusually strict correctness and performance requirements • Indefinite lifespan: old codebase, yet must keep evolving • Careful code review0 码力 | 45 页 | 702.09 KB | 5 月前3C++23: An Overview of Almost All New and Updated Features
std::unreachable() in(invokes undefined behavior) Marking code as unreachable can improve performance E.g.: void do_something(int number_that_is_only_0_1_2_or_3) { switch (number_that_is_only_0_1_2_or_3) C++23: standard way to express assumptions [[assume(expr)]]; Why use assumptions? For performance Example: int divide_by_32(int x) { __assume(x >= 0); return x/32; } Example: int divide_by_32(int resize_and_overwrite(count, op) Resizes a string and sets new content by invoking an operation Used if performance is critical Effect: If count <= size(), erase the last size() - count elements If count 0 码力 | 105 页 | 759.96 KB | 5 月前3Coaching Agile Teams
Guide back to agile principles • Servant Leader – Serve the team, not you • Performance Guardian – Facilitate high performance • Mission-Driven Leader – Serve the intentTransform Yourself • Detach from0 码力 | 15 页 | 608.54 KB | 5 月前3ClickHouse: настоящее и будущее
Функции для предметной области из коробки: • Click-stream: функции обработки URL и IP-адресов • Performance monitoring: квантили • Geospatial: geoDistance, pointInPolygon, H3, S2 ClickHouse — гибкая система analysis DPI analysis CDR records analysis Fraud & spam detection DDoS protection Application performance monitoring Logs & metrics Security events and logs. SIEM Analytics of corporate networks Telemetry0 码力 | 32 页 | 2.62 MB | 1 年前3
共 23 条
- 1
- 2
- 3