Skip to content
#

wechat

Here are 2,114 public repositories matching this topic...

Rychou
Rychou commented May 6, 2019

问题描述
最近使用movable-view做了一个拖拽排序的功能,但是由于需要touchmove事件频繁setState来更新movable-view的坐标,导致Android的上的性能体验很差,IOS不会。

看了微信的文档,这种情况可以使用WXS来解决,请问Taro中能否使用WXS?如何使用呢?

参考文档: https://developers.weixin.qq.com/miniprogram/dev/framework/view/interactive-animation.html
https://developers.weixin.qq.com/miniprogram/dev/framework/performance/tips.html

tanyichao2017
tanyichao2017 commented Jun 10, 2019

VUX version

2.9.4

OS/Browsers version

windows/Google-chrome 75版本

Vue version

2.6.10

Code

F:\code\vux2\docs>node compile
fs.js:646
  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
                 ^

Error: ENOENT: no such file or directory, open 'F:\c
DIYgod
DIYgod commented Sep 11, 2019

What feature is it?

Sync English and multilingual website in Chinese docs to English docs

What problem does this feature solve?

Make English docs better

Additional description

After docs sync, some routes need to be transformed to be suitable for English user

realxz
realxz commented Jun 10, 2019

https://github.com/Tencent/matrix/wiki/Matrix-Android-TraceCanary

业界有几种常见解决方案,都可以从一定程度上,帮助开发者快速定位到卡顿的堆栈,如 BlockCanary、ArgusAPM、LogMonitor 。这些方案的主要思想是,监控主线程执行耗时,当超过阈值时,dump出当前主线程的执行堆栈,通过堆栈分析找到卡顿原因。

从监控主线程的实现原理上,主要分为两种:

1、依赖主线程 Looper,监控每次 dispatchMessage 的执行耗时。(BlockCanary)
2、依赖 Choreographer 模块,监控相邻两次 Vsync 事件通知的时间差。(ArgusAPM、LogMonitor)

我看到 ArgusAPM 中 BlockTask 模块是通过 第一种方式监控 d

Improve this page

Add a description, image, and links to the wechat topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the wechat topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.